1. 24 Feb, 2007 3 commits
  2. 23 Feb, 2007 1 commit
    • unknown's avatar
      the fix for BUG#24432 · 8c07265c
      unknown authored
        "INSERT... ON DUPLICATE KEY UPDATE skips auto_increment values"
      didn't make it into 5.0.36 and 5.1.16,
      so we need to adjust the bug-detection-based-on-version-number code.
      Because the rpl tree has a too old version, rpl_insert_id cannot pass,
      so I disable it (like is already the case in 5.1-rpl for the same reason),
      and the repl team will re-enable it when they merge 5.0 and 5.1 into
      their trees (thus getting the right version number).
      
      
      mysql-test/t/disabled.def:
            rpl_insert_id tests statement-based replication of INSERT ON
            DUPLICATE KEY UPDATE. This type of INSERT had BUG#24432, which is
            fixed in 5.0.38; we made the slave detect if it is connected to a
            <5.0.38 master and if so refuse to replicate.
            The problem is that this 5.0-rpl tree, even though it will produce
            the 5.0.38 release, still has a 5.0.36 version in configure.in.
            Thus rpl_insert_id fails. So I disable it. As soon as the 5.0-rpl
            tree gets the changesets from the main 5.0, its version will change
            to 5.0.38 and so the repl team will re-enable the test.
      sql/slave.cc:
        the fix for BUG#24432 didn't make it into 5.0.36 and 5.1.16,
        so we need to adjust the bug-detection-based-on-version-number code.
      8c07265c
  3. 21 Feb, 2007 1 commit
  4. 20 Feb, 2007 1 commit
  5. 19 Feb, 2007 7 commits
    • unknown's avatar
      fix compile error in testBitfield · 65e7108f
      unknown authored
      65e7108f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · c7839b7e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      c7839b7e
    • unknown's avatar
      ndb - fix correct argv/argc handling in testBitfield · 2afacafb
      unknown authored
      
      ndb/test/ndbapi/testBitfield.cpp:
        fix correct argv/argc handling in testBitfield
      2afacafb
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 69718b78
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      69718b78
    • unknown's avatar
      ndb - · 2f58470f
      unknown authored
        forgott to add testcase for bug#26481
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        forgott to add testcase for bug#26481
      2f58470f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · fc13b0b8
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      fc13b0b8
    • unknown's avatar
      ndb - bug#26481 · 85fdd106
      unknown authored
        fix for killed node during initial node restart
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        add flag for initial node restart, to keep track on when to concider it to be "done"
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        add flag for initial node restart, to keep track on when to concider it to be "done"
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        add flag for initial node restart, to keep track on when to concider it to be "done"
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Check cstartRecReq also when refusing GCP_SAVEREQ
      ndb/test/ndbapi/testNodeRestart.cpp:
        add testcase
      85fdd106
  6. 17 Feb, 2007 3 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · dfe00a2d
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/test/include/NdbRestarter.hpp:
        Auto merged
      ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      ndb/test/src/NdbRestarter.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        merge
      dfe00a2d
    • unknown's avatar
      ndb - bug#26457 · 778b4aad
      unknown authored
        master failure during master take over
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        new error code
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Make sure to clear NF_XX_LCP if master fails during master take-over
      ndb/test/include/NdbRestarter.hpp:
        Add support for querying next master and node group
          (for multi node failure testing)
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        testcase
      ndb/test/src/NdbRestarter.cpp:
        Add support for querying next master and node group
          (for multi node failure testing)
      778b4aad
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · b0879d73
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      b0879d73
  7. 16 Feb, 2007 6 commits
  8. 15 Feb, 2007 2 commits
    • unknown's avatar
      Backport from the Falcon tree. · 9dfb1d90
      unknown authored
      When opening/creating the transaction coordinator's log, if binlog is
      used, the tc log is the binlog so we use the binlog's name; otherwise
      we use the mmap-based log, named after the mandatory argument of the
      --log-tc option (meant for that).
      
      
      sql/log.cc:
        fixing wrong order of arguments to my_create()
        (3rd param is the desired modes of the file; "0" lead to no rights
        for anybody on the file).
      sql/mysqld.cc:
        When opening/creating the transaction coordinator's log, if binlog is
        used, the tc log is the binlog so we use the binlog's name; otherwise
        we use the mmap-based log, named after the mandatory argument of the
        --log-tc option (meant for that).
      9dfb1d90
    • unknown's avatar
      Fix for BUG#25507 "multi-row insert delayed + auto increment causes · f6834c02
      unknown authored
      duplicate key entries on slave" (two concurrrent connections doing
      multi-row INSERT DELAYED to insert into an auto_increment column,
      caused replication slave to stop with "duplicate key error" (and
      binlog was wrong)), and BUG#26116 "If multi-row INSERT
      DELAYED has errors, statement-based binlogging breaks" (the binlog
      was not accounting for all rows inserted, or slave could stop).
      The fix is that: if (statement-based) binlogging is on, a multi-row
      INSERT DELAYED is silently converted to a non-delayed INSERT.
      Note: it is not possible to test BUG#25507 in 5.0 (requires mysqlslap),
      so it is tested only in the changeset for 5.1. However, BUG#26116
      is tested here, and the fix for BUG#25507 is the same code change.
      
      
      mysql-test/r/innodb-replace.result:
        result update
      mysql-test/t/innodb-replace.test:
        now that multi-row delayed inserts are converted to normal inserts
        if the statement-based binlog is enabled,
        no error is issued even if this engine does not support INSERT DELAYED,
        as the insert does not go through the INSERT DELAYED code.
        To preserve the goal of this test, we change the statements to single-
        row inserts.
      sql/sql_insert.cc:
        A multi-row INSERT DELAYED cannot be recorded to a statement-based
        binlog in a way that describes the insertions actually done;
        in that case we fallback to a non-delayed INSERT.
      mysql-test/r/rpl_insert_delayed.result:
        result. Master and slave match.
      mysql-test/t/rpl_insert_delayed.test:
        Test for BUG#26116 (see if one error at first row on master makes the
        slave's data incorrect, see if one error at second row on master
        makes slave stop).
      f6834c02
  9. 14 Feb, 2007 16 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 9d66be72
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      sql/mysql_priv.h:
        Auto merged
      9d66be72
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb · 8eade2e9
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-merge
      
      
      8eade2e9
    • unknown's avatar
      ndb_config_4_node.ini, ndb_config_1_node.ini: · 69377dd2
      unknown authored
        new file
      
      
      69377dd2
    • unknown's avatar
      backport some mysql-test ndbcluster things from 5.1 · ddc31bc9
      unknown authored
          remove compiler warning EventLogger.cpp
          Bug#26176 NdbObjectIdMap::expand unable to expand!! mysqld got signal 11
           - partial fix
           - object map to handle failed realloc
      
      
      
      mysql-test/ndb/ndb_config_2_node.ini:
        backport some mysql-test ndbcluster things from 5.1
      mysql-test/ndb/ndbcluster.sh:
        backport some mysql-test ndbcluster things from 5.1
      ndb/src/common/debugger/EventLogger.cpp:
        remove compiler warning
      ndb/src/ndbapi/ObjectMap.hpp:
        Bug#26176 NdbObjectIdMap::expand unable to expand!! mysqld got signal 11
         - partial fix
         - object map to handle failed realloc
      ddc31bc9
    • unknown's avatar
      Merge poseidon.mysql.com:/home/tomas/mysql-5.0-telco-gca · e2fb1e45
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      e2fb1e45
    • unknown's avatar
      Bug #21033 Error 0 in readAutoIncrementValue() · 5a25c67a
      unknown authored
      - do not call function if table has no autoincrement
      
      
      5a25c67a
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-work · b0aba1f9
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-merge
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        SCCS merged
      b0aba1f9
    • unknown's avatar
      BUG#26358 remove unused and non-working SET_VAR_REQ/CONF signals · 6f334b55
      unknown authored
      remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
      
      Remove the dead SET_VAR_REQ,REF,CONF signals.
      
      They:
      a) don't currently work
      b) will cause confusion with future mgmd updates for
         signal interface to configuration things (e.g. port numbers)
      
      
      ndb/include/kernel/GlobalSignalNumbers.h:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/common/debugger/signaldata/SignalNames.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        remove SET_VAR_REQ,REF,CONF - unused, #if 0 and confusing
        
        Remove the dead SET_VAR_REQ,REF,CONF signals.
        
        They:
        a) don't currently work
        b) will cause confusion with future mgmd updates for
           signal interface to configuration things (e.g. port numbers)
      6f334b55
    • unknown's avatar
      BUG#26357 remove unused GSN_STATISTICS_REQ and CONF · f8a679e9
      unknown authored
      remove GSN_STATISTICS_REQ and CONF
      
      These are unused and have been since BK import. not needed.
      
      
      ndb/include/kernel/GlobalSignalNumbers.h:
        remove STATISTICS_REQ and CONF
      ndb/src/common/debugger/signaldata/SignalNames.cpp:
        remove signal names for STATISTICS_REQ and CONF (unused)
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        remove unused STATISTICS signals
      ndb/src/kernel/blocks/cmvmi/Cmvmi.hpp:
        remove unused STATISTICS signals
      f8a679e9
    • unknown's avatar
      BUG#26356 uninitialised data sent from TAMPER_ORD to DIHNDBTAMPER · cea0d57d
      unknown authored
      Don't send uninit data in TAMPER_ORD to DIHNDBTAMPER
      
      Even though this data is unused from the CMVMI (mgmd) signal,
      we shouldn't be doing stuff with uninited data.
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        init the 3rd word of DIHNDBTAMPER before sending to DIH.
      cea0d57d
    • unknown's avatar
      BUG#26355 FIXME: use constant for max loglevel in ndb_mgmd · e953dd8a
      unknown authored
      
      ndb/include/mgmapi/mgmapi.h:
        use constant for max log level in ndb_mgmd.
        
        (more useful in 5.1 due to other defines and refinements of mgmapi)
      ndb/src/mgmsrv/Services.cpp:
        fix the XXX fixme of constant for max log level
      e953dd8a
    • unknown's avatar
      BUG#26353 remove GET_CONFIG_BACKWARDS_COMPAT from ndb_mgmd · a031b430
      unknown authored
      there is backwards compatibility for GET CONFIG style configuration requests in
      ndb_mgmd. None of the ndbd versions that use this couldn't possibly connect to a
      5.0 or 5.1 cluster. remove the backwards compat
      
      remove it
      
      
      ndb/src/mgmsrv/Services.cpp:
        remove MGM_GET_CONFIG_BACKWARDS_COMPAT code.
        
        any client using GET CONFIG will just not work with modern NDB.
      ndb/src/mgmsrv/Services.hpp:
        remove GET CONFIG support
      a031b430
    • unknown's avatar
      BUG#26352 unused ndb_mgm_rep_command in mgmapi.cpp · 22d157e4
      unknown authored
      
      ndb/src/mgmapi/mgmapi.cpp:
        remove ndb_mgm_rep_command function
      22d157e4
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 94679180
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      94679180
    • unknown's avatar
      WL#3704 mgmapi timeouts (and cleanups) · 7fd6bbce
      unknown authored
      indicate units in SocketOutputStream timeout
      
      rename timeout in SocketOutputStream to reflect units (ms)
      
      In 5.0 as well as is safe cleanup patch that will help with merging.
      
      
      ndb/include/util/OutputStream.hpp:
        rename timeout in SocketOutputStream to reflect units (ms)
      ndb/src/common/util/OutputStream.cpp:
        rename timeout in SocketOutputStream to reflect units (ms)
      7fd6bbce
    • unknown's avatar
      Merge poseidon.mysql.com:/home/tomas/mysql-5.0-telco-gca · b6876ef6
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      b6876ef6