1. 17 Dec, 2004 10 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-4.1 · af5a042c
      unknown authored
      into bk-internal.mysql.com:/data0/bk/mysql-4.1-cluster-extra
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      af5a042c
    • unknown's avatar
      merge · 71424cb1
      unknown authored
      
      ndb/src/mgmsrv/CommandInterpreter.cpp:
        Auto merged
      ndb/src/ndbapi/Ndb.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      ndb/src/ndbapi/NdbImpl.hpp:
        Auto merged
      71424cb1
    • unknown's avatar
      enabled setting version for ndb · b3dd0029
      unknown authored
      b3dd0029
    • unknown's avatar
      CommandInterpreter.hpp, CommandInterpreter.cpp: · 21162110
      unknown authored
        removed methods that are duplicated in management client
      
      
      ndb/src/mgmsrv/CommandInterpreter.cpp:
        removed methods that are duplicated in management client
      ndb/src/mgmsrv/CommandInterpreter.hpp:
        removed methods that are duplicated in management client
      21162110
    • unknown's avatar
      merge · 72c28731
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      configure.in:
        Auto merged
      ndb/include/Makefile.am:
        Auto merged
      ndb/include/kernel/LogLevel.hpp:
        Auto merged
      ndb/include/mgmapi/mgmapi.h:
        Auto merged
      ndb/include/ndbapi/NdbConnection.hpp:
        Auto merged
      ndb/include/ndbapi/NdbDictionary.hpp:
        Auto merged
      ndb/src/common/debugger/EventLogger.cpp:
        Auto merged
      ndb/src/common/logger/FileLogHandler.cpp:
        Auto merged
      ndb/src/common/logger/Logger.cpp:
        Auto merged
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Auto merged
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/main.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp:
        Auto merged
      ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      ndb/src/mgmsrv/Services.cpp:
        Auto merged
      ndb/src/mgmsrv/Services.hpp:
        Auto merged
      ndb/src/mgmsrv/main.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      ndb/src/ndbapi/TransporterFacade.cpp:
        Auto merged
      ndb/src/ndbapi/ndberror.c:
        Auto merged
      ndb/tools/Makefile.am:
        Auto merged
      72c28731
    • unknown's avatar
      bug#7379 & bug#7346 - ndb_restore · b181f610
      unknown authored
      
      ndb/tools/restore/consumer_restore.cpp:
        1) Fix bug when blobs and multiple databases bug#7379
        2) Fix bug #7346
      ndb/tools/restore/consumer_restore.hpp:
        Moved tuple handle into callback object 
          instead of having separate array
        Declared m_transactions volatile
      b181f610
    • unknown's avatar
      version.c: · 113fe506
      unknown authored
        4.1.9 compatible with 4.1.8
      
      
      ndb/src/common/util/version.c:
        4.1.9 compatible with 4.1.8
      113fe506
    • unknown's avatar
      moved some Ndb member variables to NdbImpl class · cd2e3aca
      unknown authored
      removed theCurrentConnectCounter
      optimized the_release_ind by using pos[0] to indicate that there is something there
      smaller storage of theDBNodes array by using Uint8
      set the_relase_ind array to Uint32 to avoid possible parallell thread usage errors
      
      
      cd2e3aca
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4630d406
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      4630d406
    • unknown's avatar
      Bumb up ndb version · 2e4fda1c
      unknown authored
      2e4fda1c
  2. 16 Dec, 2004 12 commits
    • unknown's avatar
      A .test for BUG#6287 "Slave skips auto_increment values in Replication with InnoDB" · 8d9badb3
      unknown authored
      which Heikki fixed in 4.1.8 and 4.0.23. I verified that without Heikki's patch the test fails (7 gets inserted).
      Test added to 4.1 because in testsuite of 4.0 it's impossible to start slave with InnoDB.
      
      
      8d9badb3
    • unknown's avatar
      Very minor fixes for Seconds_Behind_Master column of SHOW SLAVE STATUS. · 082bf702
      unknown authored
      
      sql/log_event.cc:
        comment
      sql/slave.cc:
        putting setting of rli->last_master_timestamp a few lines above, so that it
        is done under rli->data_lock.
      082bf702
    • unknown's avatar
      merge · 4935b27c
      unknown authored
      4935b27c
    • unknown's avatar
      merge · 80c1bddd
      unknown authored
      
      ndb/include/transporter/TransporterRegistry.hpp:
        Auto merged
      ndb/src/kernel/main.cpp:
        Auto merged
      80c1bddd
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 93f82e8e
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      
      93f82e8e
    • unknown's avatar
      A change of behaviour of Seconds_Behind_Master from SHOW SLAVE STATUS. It's going into 4.1 · 4869f022
      unknown authored
      because old behaviour was somewhat nonsensical (kind of bug). Changes are that if repl threads are
      down or disconnected the column will be NULL, and if master is idle the column will not grow indefinitely anymore.
      
      
      sql/slave.cc:
        mi->slave_running and rli->slave_running now uints (was needed only for mi but because of start_slave_thread() usage,
        had to change both).
        So mi->slave_running can now take 3 values: not running, running & not connected, running and connected.
        The last value serves for calculation of Seconds_Behind_Master in SHOW SLAVE STATUS.
        Changing this column's behaviour: if SQL or I/O thread is not running, or if I/O thread is not connected
        (for example if it is reconnecting), it's NULL (to mean "unknown"). And if master is idle, the column will
        not grow indefinitely like it used to (that was meaningless); this is fixed by forcing a value of 0
        when the slave SQL thread has hit EOF of relay log (which has only a limited number of caveats explained
        in comments in code).
      sql/slave.h:
        slave_running used to be bool but we need to distinguish, for the I/O slave thread, between 
        "running & connected" and "running & not connected" ("running" means the thread exists).
      sql/sql_repl.cc:
        we don't need anymore to set rli->last_master_timestamp to 0 (we used that to make Seconds_Behind_Master
        be NULL) in RESET SLAVE and CHANGE MASTER, as these commands imply that slave threads are not running
        and so Seconds_Behind_Master is already NULL because of that.
      4869f022
    • unknown's avatar
      Test for BUG#6054. The bug itsel is fixed by the fix for #5837. · ae6f147a
      unknown authored
      
      mysql-test/r/update.result:
        test result
      mysql-test/t/update.test:
        test queries
      ae6f147a
    • unknown's avatar
      Making 4.1 tree compile with -ansi -pedantic · bfa45f2f
      unknown authored
      
      include/raid.h:
        Fixing compile-time warning: pragma interface is not supported in C,
        let's move it to C++ part of the header.
      ndb/include/kernel/signaldata/CreateEvnt.hpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/include/kernel/signaldata/PackedSignal.hpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/include/kernel/signaldata/SumaImpl.hpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/common/debugger/signaldata/NFCompleteRep.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/common/logger/FileLogHandler.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/grep/GrepInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/ndbfs/VoidFs.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/suma/Suma.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/suma/SumaInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/trix/Trix.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/ndbapi/NdbEventOperation.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/ndbapi/NdbScanFilter.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/tools/restore/Restore.cpp:
        - remove extra erroneous ; from ends of function definitions
      sql/item_create.h:
        - remove extra erroneous ;
      sql/sql_cache.cc:
        - remove extra erroneous ;
      tests/client_test.c:
        - fix -pedantic warning
      bfa45f2f
    • unknown's avatar
    • unknown's avatar
      - bumped up version number in configure.in from 4.1.8 to 4.1.9 · 1fa33736
      unknown authored
      - tagged ChangeSet 1.2173 as "mysql-4.1.8"
      
      
      configure.in:
        - bumped up version number from 4.1.8 to 4.1.9
      1fa33736
    • unknown's avatar
      Moved test for multi ndb to have_ndb_multi · bf532e26
      unknown authored
      bf532e26
    • unknown's avatar
      Merge · 5ffe6a7b
      unknown authored
      
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/table.h:
        Auto merged
      5ffe6a7b
  3. 15 Dec, 2004 2 commits
    • unknown's avatar
      myisam/sort.c:my_var_write and mysys/hash.c:hash_key made static inline, · b857b6e7
      unknown authored
      not simply inline, to fix the linking failure on Sun Solaris 9 (sparc)
      with Sun Studio 9, reported by Peter Harvey.
      
      
      myisam/sort.c:
        my_var_write made static inline (fix for a link failure)
      mysys/hash.c:
        hash_key made static inline (fix a link failure)
      b857b6e7
    • unknown's avatar
      Added test case for multiple MySQL Servers connected to one cluster · fcca1791
      unknown authored
      Added test for cache in combination with multiple MySQL Servers
      
      
      mysql-test/include/have_ndb.inc:
        Added suport for connecting to two MySQL Server instances
        (I hope this will work on all platforms, since it does not use the socket parameter when openeing the connections, analog to how it looks like in replication tests)
      fcca1791
  4. 14 Dec, 2004 16 commits