1. 12 Nov, 2004 3 commits
  2. 11 Nov, 2004 20 commits
    • unknown's avatar
      wl1744 - ndb win port · 21b92386
      unknown authored
      improve ndb_global.h
      
      
      configure.in:
        check for some more includes
      ndb/include/ndb_global.h.in:
        better ndb_global.h.in
      21b92386
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · a27a75a6
      unknown authored
      into mysql.com:/home/jonas/src/wl1744
      
      
      ndb/src/ndbapi/ndberror.c:
        Auto merged
      a27a75a6
    • unknown's avatar
      wl1744 - ndb win-port · 03dafd08
      unknown authored
      
      ndb/include/ndbapi/NdbDictionary.hpp:
        win-port
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        win-port
      ndb/include/util/SocketServer.hpp:
        win-port
      ndb/src/common/portlib/win32/NdbCondition.c:
        win-port
      ndb/src/common/portlib/win32/NdbEnv.c:
        win-port
      ndb/src/common/portlib/win32/NdbHost.c:
        win-port
      ndb/src/common/portlib/win32/NdbMem.c:
        win-port
      ndb/src/common/portlib/win32/NdbMutex.c:
        win-port
      ndb/src/common/portlib/win32/NdbSleep.c:
        win-port
      ndb/src/common/portlib/win32/NdbTCP.c:
        win-port
      ndb/src/common/portlib/win32/NdbThread.c:
        win-port
      ndb/src/common/portlib/win32/NdbTick.c:
        win-port
      ndb/src/common/util/File.cpp:
        win-port
      ndb/src/mgmsrv/ConfigInfo.cpp:
        win-port
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        win-port
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        win-port
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        win-port
      ndb/src/mgmsrv/Services.cpp:
        win-port
      ndb/src/mgmsrv/Services.hpp:
        win-port
      ndb/src/mgmsrv/SignalQueue.hpp:
        win-port
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        win-port
      ndb/test/src/NdbRestarts.cpp:
        win-port
      03dafd08
    • unknown's avatar
      wl1744 - ndb on windoze · b0936fdc
      unknown authored
      
      ndb/Makefile.am:
        ndb-windows
      ndb/src/Makefile.am:
        ndb-windows
      ndb/src/common/debugger/Makefile.am:
        ndb-windows
      ndb/src/common/debugger/signaldata/Makefile.am:
        ndb-windows
      ndb/src/common/logger/Makefile.am:
        ndb-windows
      ndb/src/common/mgmcommon/Makefile.am:
        ndb-windows
      ndb/src/common/portlib/Makefile.am:
        ndb-windows
      ndb/src/common/transporter/Makefile.am:
        ndb-windows
      ndb/src/common/util/File.cpp:
        ndb-windows
      ndb/src/common/util/Makefile.am:
        ndb-windows
      ndb/src/cw/cpcd/Makefile.am:
        ndb-windows
      ndb/src/kernel/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/backup/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/backup/restore/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/cmvmi/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/dbacc/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/dbdict/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/dbdih/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/dblqh/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/dbtc/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/dbtup/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/dbtux/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/dbutil/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/grep/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/ndbcntr/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/ndbfs/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/qmgr/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/suma/Makefile.am:
        ndb-windows
      ndb/src/kernel/blocks/trix/Makefile.am:
        ndb-windows
      ndb/src/kernel/error/Makefile.am:
        ndb-windows
      ndb/src/kernel/vm/Makefile.am:
        ndb-windows
      ndb/src/mgmapi/Makefile.am:
        ndb-windows
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        ndb-windows
      ndb/src/mgmsrv/Makefile.am:
        ndb-windows
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        ndb-windows
      ndb/src/ndbapi/Makefile.am:
        ndb-windows
      ndb/src/ndbapi/ndberror.c:
        ndb-windows
      ndb/test/include/NdbSchemaOp.hpp:
        ndb-windows
      ndb/test/run-test/Makefile.am:
        ndb-windows
      ndb/test/src/CpcClient.cpp:
        ndb-windows
      ndb/test/src/Makefile.am:
        ndb-windows
      ndb/test/src/NdbRestarter.cpp:
        ndb-windows
      ndb/test/src/getarg.c:
        ndb-windows
      b0936fdc
    • unknown's avatar
      trx0purge.c: · a674f1fc
      unknown authored
        Remove duplicated innodb max purge lag code
      
      
      innobase/trx/trx0purge.c:
        Remove duplicated innodb max purge lag code
      a674f1fc
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 736ebe93
      unknown authored
      into pcgem.rdg.cyberkinetica.com:/usr/home/acurtis/work/bug6469
      
      
      sql/sql_yacc.yy:
        Auto merged
      736ebe93
    • unknown's avatar
      Merge pcgem.rdg.cyberkinetica.com:/mnt/staff/repositories/mysql-4.1 · a0f538db
      unknown authored
      into pcgem.rdg.cyberkinetica.com:/usr/home/acurtis/work/bug6469
      
      
      sql/sql_yacc.yy:
        Auto merged
      a0f538db
    • unknown's avatar
      ndb_test_platform.cpp: · 8cdd51dc
      unknown authored
        better printouts in ndb_test_platform
      
      
      ndb/tools/ndb_test_platform.cpp:
        better printouts in ndb_test_platform
      8cdd51dc
    • unknown's avatar
      waiter.cpp: · 407b7ff4
      unknown authored
        fixed so that connectring option works
      
      
      ndb/tools/waiter.cpp:
        fixed so that connectring option works
      407b7ff4
    • unknown's avatar
      mysql-test-run.sh: · 8618a257
      unknown authored
        made sleep time for second master larger so that it has time to start
      
      
      mysql-test/mysql-test-run.sh:
        made sleep time for second master larger so that it has time to start
      8618a257
    • unknown's avatar
      basestring_vsnprintf fix for size==0 · 30dbe37f
      unknown authored
      30dbe37f
    • unknown's avatar
      forgot a return 0 · a0f3f95e
      unknown authored
          removed some errorcodes not used
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        forgot a return 0
      ndb/src/ndbapi/ndberror.c:
        removed some errorcodes not used
      a0f3f95e
    • unknown's avatar
      ndbcluster.sh: · 54da5afa
      unknown authored
        fixed typo
      
      
      mysql-test/ndb/ndbcluster.sh:
        fixed typo
      54da5afa
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · e6df2717
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      e6df2717
    • unknown's avatar
      added ndb error codes and better explanations · 0d8b240a
      unknown authored
      0d8b240a
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · e521a1e5
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      sql/sql_yacc.yy:
        Auto merged
      e521a1e5
    • unknown's avatar
      Fix for autobuild failure: forgotten ';' (bison 1.875 accepts if it's not there, but 1.75 does not) · a3d5c711
      unknown authored
      
      sql/sql_yacc.yy:
        forgotten ';' (bison 1.875 accepts if it's not there, but 1.75 does not)
      a3d5c711
    • unknown's avatar
      wl1744- ndb windows · e910d5dd
      unknown authored
      move ports into ndb_global
      
      
      BitKeeper/deleted/.del-ndb_version.h~c759dd144f698ea:
        Delete: ndb/include/ndb_version.h
      BitKeeper/deleted/.del-ndb_global.h~c4762a8c8f5136c6:
        Delete: ndb/include/ndb_global.h
      configure.in:
        also generate ndb_global
      ndb/include/ndb_types.h:
        fix
      ndb/src/common/mgmcommon/Makefile.am:
        put port into ndb_global
      ndb/src/mgmsrv/ConfigInfo.cpp:
        win
      ndb/src/mgmsrv/Makefile.am:
        moved ports into ndb_global
      ndb/src/ndbapi/ndberror.c:
        use my_snprintf
      e910d5dd
    • unknown's avatar
      Added ending ';' for the start_transaction_opts: · 700b5133
      unknown authored
      700b5133
    • unknown's avatar
      fill_help_tables.sh: · 5b95854d
      unknown authored
        Handle some additional Texinfo tags that were being missed.
      
      
      scripts/fill_help_tables.sh:
        Handle some additional Texinfo tags that were being missed.
      5b95854d
  3. 10 Nov, 2004 17 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 257fff25
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      sql/handler.cc:
        Auto merged
      257fff25
    • unknown's avatar
      no new message in 4.1 (causes merge issues with 5.0). Using ER_UNKNOW_ERROR... · 1922e37c
      unknown authored
      no new message in 4.1 (causes merge issues with 5.0). Using ER_UNKNOW_ERROR and hardcoded message string instead.
      
      
      include/mysqld_error.h:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/handler.cc:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/czech/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/danish/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/dutch/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/english/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/estonian/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/french/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/german/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/greek/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/hungarian/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/italian/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/japanese/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/korean/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/norwegian-ny/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/norwegian/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/polish/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/portuguese/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/romanian/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/russian/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/serbian/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/slovak/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/spanish/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/swedish/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      sql/share/ukrainian/errmsg.txt:
        no new message in 4.1 (causes merge issues with 5.0)
      1922e37c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 92ad81e3
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/handler.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      92ad81e3
    • unknown's avatar
      Added possibility to detect if libmysqld is restarted · bbacfb85
      unknown authored
      (Needed to check if memory allocated with mysql_once_init() has been freed)
      
      
      
      include/my_sys.h:
        Added possibility to detect if libmysqld is restarted
      mysys/my_init.c:
        Added possibility to detect if libmysqld is restarted
      sql/handler.cc:
        Detect if libmysqld is restarted
        Simple optimization of ha_known_exts()
      bbacfb85
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 5859af25
      unknown authored
      into mysql.com:/home/jonas/src/wl1744
      
      
      configure.in:
        Auto merged
      ndb/include/mgmapi/mgmapi.h:
        Auto merged
      ndb/src/common/mgmcommon/Makefile.am:
        Auto merged
      ndb/src/common/mgmcommon/NdbConfig.c:
        Auto merged
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      ndb/src/mgmsrv/Makefile.am:
        Auto merged
      ndb/src/mgmsrv/main.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      5859af25
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/wl1744 · 320be4f7
      unknown authored
      into mysql.com:/home/jonas/src/fix
      
      320be4f7
    • unknown's avatar
      wl1744 - ndb windows port · d27e217f
      unknown authored
      move versing handling into ndb_version.h.in (from config.h)
      
      
      configure.in:
        generate ndb/include/ndb_version.h during configure
      ndb/Makefile.am:
        extra target for just creating dsp files
      d27e217f
    • unknown's avatar
      wl1744 - ndb windoze port · b50fadc5
      unknown authored
      
      ndb/include/ndb_types.h:
        ndb windoze
      ndb/src/common/util/version.c:
        ndb windoze
      ndb/src/mgmsrv/ConfigInfo.cpp:
        ndb windoze
      ndb/src/ndbapi/ndberror.c:
        ndb windoze
      b50fadc5
    • unknown's avatar
      Bug#6469 - REVOKE ALL synonymy bug · 6bdacbbb
      unknown authored
      6bdacbbb
    • unknown's avatar
      Merge mysql.com:/home/bk/mysql-4.1 · 405ecb64
      unknown authored
      into mysql.com:/users/kboortz/daily/work/mysql-4.1-wax
      
      405ecb64
    • unknown's avatar
      Merge · f06a4e23
      unknown authored
      
      client/mysqldump.c:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/handler.h:
        SCCS merged
      f06a4e23
    • unknown's avatar
      WL#1596 "make mysqldump --master-data --single-transaction able to do online... · fbc56a51
      unknown authored
      WL#1596 "make mysqldump --master-data --single-transaction able to do online dump of InnoDB AND report reliable
      binlog coordinates corresponding to the dump".
      The good news is that now mysqldump can be used to get an online backup of InnoDB *which works for
      point-in-time recovery and replication slave creation*. Formerly, mysqldump --master-data --single-transaction
      used to call in fact mysqldump --master-data, so the dump was not an online dump (took big lock all time of dump).
      The only lock which is now taken in this patch is at the beginning of the dump: mysqldump does:
      FLUSH TABLES WITH READ LOCK; START TRANSACTION WITH CONSISTENT SNAPSHOT; SHOW MASTER STATUS; UNLOCK TABLES;
      so the lock time is in fact the time FLUSH TABLES WITH READ LOCK takes to return (can be 0 or very long, if
      a table is undergoing a huge update).
      I have done some more minor changes listed in the paragraph of mysqldump.c.
      WL#2237 "WITH CONSISTENT SNAPSHOT clause for START TRANSACTION":
      it's a START TRANSACTION which additionally starts a consistent read on all
      capable storage engine (i.e. InnoDB). So, can serve as a replacement for
      BEGIN; SELECT * FROM some_innodb_table LIMIT 1; which starts a consistent read too. 
      
      
      client/mysqldump.c:
        Main change: mysqldump --single-transaction --master-data is now able to, at the same time,
        take an online dump of InnoDB (using consistent read) AND get the binlog position corresponding to this dump
        (before, using the two options used to silently cancel --single-transaction).
        This uses the new START TRANSACTION WITH CONSISTENT SNAPSHOT syntax.
        Additional changes: 
        a) cleanup:
         - DBerror calls exit() so some code was unneeded
         - no need to call COMMIT at end, leave disconnection do the job
         - mysql_query_with_error_report()
        b) requirements I had heard from colleagues:
         - --master-data now requires an argument, to comment out ("--") the CHANGE MASTER or not
           (commenting had been asked for point-in-time recovery when replication is not necessary).
         - --first-slave is renamed to --lock-all-tables
        c) more sensible behaviours (has been discussed internally):
         - if used with --master-data, --flush-logs is probably intended to get a flush synchronous
           with the dump, not one random flush per dumped db.
         - disabled automatic reconnection as, at least, SQL_MODE would be lost (and also, depending
           on options, LOCK TABLES, BEGIN, FLUSH TABLES WITH READ LOCK).
      include/mysqld_error.h:
        an error if START TRANSACTION WITH CONSISTENT SNAPSHOT is called and there is no consistent-read capable storage engine
        (idea ((C) PeterG) is that it's a bit like CREATE TABLE ENGINE=InnoDB when there is no support for InnoDB).
      sql/handler.cc:
        new ha_start_consistent_snapshot(), which, inside an existing transaction, starts a consistent read
        (offers an alternative to SELECTing any InnoDB table). Does something only for InnoDB.
        Warning if no suitable engine supported.
      sql/handler.h:
        declarations
      sql/lex.h:
        symbols for lex
      sql/share/czech/errmsg.txt:
        new message
      sql/share/danish/errmsg.txt:
        new message
      sql/share/dutch/errmsg.txt:
        new message
      sql/share/english/errmsg.txt:
        new message
      sql/share/estonian/errmsg.txt:
        new message
      sql/share/french/errmsg.txt:
        new message
      sql/share/german/errmsg.txt:
        new message
      sql/share/greek/errmsg.txt:
        new message
      sql/share/hungarian/errmsg.txt:
        new message
      sql/share/italian/errmsg.txt:
        new message
      sql/share/japanese/errmsg.txt:
        new message
      sql/share/korean/errmsg.txt:
        new message
      sql/share/norwegian-ny/errmsg.txt:
        new message
      sql/share/norwegian/errmsg.txt:
        new message
      sql/share/polish/errmsg.txt:
        new message
      sql/share/portuguese/errmsg.txt:
        new message
      sql/share/romanian/errmsg.txt:
        new message
      sql/share/russian/errmsg.txt:
        new message
      sql/share/serbian/errmsg.txt:
        new message
      sql/share/slovak/errmsg.txt:
        new message
      sql/share/spanish/errmsg.txt:
        new message
      sql/share/swedish/errmsg.txt:
        new message
      sql/share/ukrainian/errmsg.txt:
        new message
      sql/sql_lex.h:
        new option in lex (transaction options)
      sql/sql_parse.cc:
        warning comment (never make UNLOCK TABLES commit a transaction, please);
        support for starting consistent snapshot.
      sql/sql_yacc.yy:
        new clause WITH CONSISTENT SNAPSHOT (syntax ok'd by PeterG) for START TRANSACTION.
      fbc56a51
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 1f9db1ff
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      1f9db1ff
    • unknown's avatar
      More debugging · 3b4ff971
      unknown authored
      Print position in normal log for Binlog dump
      
      
      dbug/dbug.c:
        Added DBUG_OUTPUT() to temporary start/stop trace-file output
        Optimized alignment of CODE_STATE structure
      include/my_dbug.h:
        Added DBUG_OUTPUT() to temporary start/stop trace-file output
      sql/field.cc:
        Safety fix when used with future 5.0 .frm tables
      sql/log.cc:
        More debugging
      sql/mysqld.cc:
        Fixed type
      sql/slave.cc:
        Fixed wrong cast (not a bug)
      sql/sql_class.h:
        More DBUG output
      sql/sql_parse.cc:
        Print position in normal log for Binlog dump
      3b4ff971
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 4f110c51
      unknown authored
      into pcgem.rdg.cyberkinetica.com:/usr/home/acurtis/work/bug6031
      
      4f110c51
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 120448c3
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      120448c3
    • unknown's avatar
      added configure switch for ndb port number · 24798bc7
      unknown authored
          added new variable for ndb port 1186
          changed meaning of ndb_port_base to be default tcp port setting
          changed to use split between port and port_base for ndbcluster
          so that ndb_port and ndb_port_base are propagated to startscript for ndbcluster
          added larger space to pid print
          moved readAndExecute out of CommandInterpreter to avoid linking lib with readline
          added c-api to Ndb_mgmclient
          pass also ndb_port to make
      
      
      acinclude.m4:
        added configure switch for ndb port number
      configure.in:
        added new variable for ndb port 1186
        changed meaning of ndb_port_base to be default tcp port setting
      mysql-test/mysql-test-run.sh:
        changed to use split between port and port_base for ndbcluster
      mysql-test/ndb/Makefile.am:
        so that ndb_port and ndb_port_base are propagated to startscript for ndbcluster
      mysql-test/ndb/ndbcluster.sh:
        so that ndb_port and ndb_port_base are propagated to startscript for ndbcluster
      ndb/src/common/mgmcommon/LocalConfig.cpp:
        so that ndb_port and ndb_port_base are propagated to startscript for ndbcluster
      ndb/src/common/mgmcommon/Makefile.am:
        so that ndb_port and ndb_port_base are propagated to startscript for ndbcluster
      ndb/src/common/mgmcommon/NdbConfig.c:
        added larger space to pid print
      ndb/src/mgmclient/CommandInterpreter.cpp:
        moved readAndExecute out of CommandInterpreter to avoid linking lib with readline
        added c-api to Ndb_mgmclient
      ndb/src/mgmclient/main.cpp:
        moved readAndExecute out of CommandInterpreter to avoid linking lib with readline
      ndb/src/mgmclient/ndb_mgmclient.hpp:
        moved readAndExecute out of CommandInterpreter to avoid linking lib with readline
      ndb/src/mgmsrv/ConfigInfo.cpp:
        moved readAndExecute out of CommandInterpreter to avoid linking lib with readline
      ndb/src/mgmsrv/Makefile.am:
        pass also ndb_port to make
      24798bc7