1. 23 Nov, 2007 3 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 7c9cb762
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/cge-5.1
      
      
      7c9cb762
    • unknown's avatar
      bug#28445 - Heartbeat does not start until first API_REGREQ is recevied · bcd2abaa
      unknown authored
      - move api failure handling into own method
      - add START_ORD so that hb checking can start really early
      
      
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        - make sure qmgr is "fully" informed about connections so that it can handle hb correctly
        - dont allow API/mysqld node to reconnect if we have not started yet (sp 8)
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        - move api failure handling into own method
        - add START_ORD so that hb checking can start really early
      storage/ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        - move api failure handling into own method
        - add START_ORD so that hb checking can start really early
        - Init datastructures in constructor
        - as CONNECT_REP may occur before start phases
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        - Init datastructures in constructor
        - as CONNECT_REP may occur before start phases
        - start hb handling directly on connect rep (instead of first hb)
      bcd2abaa
    • unknown's avatar
  2. 22 Nov, 2007 2 commits
  3. 20 Nov, 2007 5 commits
  4. 19 Nov, 2007 4 commits
    • unknown's avatar
      remove debug printout · cb4df0a2
      unknown authored
      cb4df0a2
    • unknown's avatar
      ndb - bug#22696 · 49e3dcf1
      unknown authored
        additional (not stricly necessary for this bug...)
        only send EXEC_SRCONF to node *in* SR
      
      
      49e3dcf1
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · aa5de8b9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      aa5de8b9
    • unknown's avatar
      ndb - bug#22696 · 7d50a31b
      unknown authored
        Fix handling of multiple redo phases
        - set correct state
        - handle 4 phases, by moving START_FRAGCONF to end of phase instead of beginning...
      
      
      storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        remove unused state ACTIVE_REMOVE_AFTER
        remove unused variable nextLcp
        remove unused methods (BUILD_INDX)
        add counter of outstanding GSN_EXEC_FRAGREQ
        remove c_redo_complete_fragments cause it fits badly with functional multi-redo-phases
      storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        remove unused stuff
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        1) set correct state before starting next non-empty REDO phase
        2) move GSN_START_FRAGCONF to execFRAGCONF instead of when sending GSN_EXEC_FRAGREQ
           or fragments with 4 redo-phases would never be complete...
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        testcase
      storage/ndb/test/run-test/daily-basic-tests.txt:
        testcase
      7d50a31b
  5. 16 Nov, 2007 1 commit
  6. 14 Nov, 2007 4 commits
    • unknown's avatar
      ndb - · 79f8eeed
      unknown authored
        add new testtool that does connect/disconnect in loop
      
      
      storage/ndb/test/tools/Makefile.am:
        add new test tool
      storage/ndb/test/tools/connect.cpp:
        New BitKeeper file ``storage/ndb/test/tools/connect.cpp''
      79f8eeed
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · fef4a8b0
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Auto merged
      fef4a8b0
    • unknown's avatar
      ndb - Add new dump 8011 · 90c05bd8
      unknown authored
        which dumps all subscribers
      
      
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Add new dump 8011
          which dumps all subscribers
      90c05bd8
    • unknown's avatar
      ndb - bug#32359 · 7e7668e4
      unknown authored
        Increase connection negotiation timeout
        Improve some weirdness
      
      
      storage/ndb/src/common/transporter/Transporter.cpp:
        - Increase connection negotiation timeout
        - return false if trying to connect when already connected (should still be assert)
      storage/ndb/src/common/transporter/TransporterRegistry.cpp:
        Use correct "is_connected" checks
          (although this is kind of bogus and should be cleaned-up)
      7e7668e4
  7. 09 Nov, 2007 1 commit
  8. 08 Nov, 2007 2 commits
    • unknown's avatar
      testDict.cpp: · 4d0c67c6
      unknown authored
        Updated DropDDObjects in testDict to ignore the user tables created in the MySQL database
      
      
      storage/ndb/test/ndbapi/testDict.cpp:
        Updated DropDDObjects in testDict to ignore the user tables created in the MySQL database
      4d0c67c6
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb · 4560bd6c
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        merge
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      4560bd6c
  9. 07 Nov, 2007 2 commits
    • unknown's avatar
      ndb - bug#32160 (recommit to 5.0) · 327cd42a
      unknown authored
        fix lcp master take over bug
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        new error codes
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        add debug code
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        fix master lcp bug
        add 2 new error codes
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        testcase
      327cd42a
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · ae46cde3
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      ae46cde3
  10. 06 Nov, 2007 6 commits
    • unknown's avatar
    • unknown's avatar
      Bug #31484 Cluster LOST_EVENTS entry not added to binlog on mysqld restart · 6b018a16
      unknown authored
      - correction, do not insert GAP on first startup
      
      
      6b018a16
    • unknown's avatar
      Merge mysql.com:/home/marty/MySQL/mysql-5.0-ndb · 86eae1ef
      unknown authored
      into  mysql.com:/home/marty/MySQL/mysql-5.1-new-ndb
      
      
      86eae1ef
    • unknown's avatar
      ndb_auto_increment.result: · 539682ce
      unknown authored
        Rename: mysql-test/r/ndb_auto_increment.result -> mysql-test/suite/ndb/r/ndb_auto_increment.result
      ndb_auto_increment.test, ndb_auto_increment.result:
        Bug #31956       auto increment bugs in MySQL Cluster: Adapted test cases
      ha_ndbcluster.cc:
        Bug #31956       auto increment bugs in MySQL Cluster: Merging from 5.0
      ndb_auto_increment.test:
        Rename: mysql-test/t/ndb_auto_increment.test -> mysql-test/suite/ndb/t/ndb_auto_increment.test
      
      
      sql/ha_ndbcluster.cc:
        Bug #31956       auto increment bugs in MySQL Cluster: Merging from 5.0
      mysql-test/suite/ndb/t/ndb_auto_increment.test:
        Bug #31956       auto increment bugs in MySQL Cluster: Adapted test cases
      mysql-test/suite/ndb/r/ndb_auto_increment.result:
        Bug #31956       auto increment bugs in MySQL Cluster: Adapted test cases
      539682ce
    • unknown's avatar
      Removed compiler warnings · 404d52fc
      unknown authored
      404d52fc
    • unknown's avatar
      break out tuple data read · ea9b647d
      unknown authored
      
      sql/ha_ndbcluster_binlog.cc:
        more state saving
      storage/ndb/tools/restore/Restore.cpp:
        ndb:
        break out tuple data read for ndb_restore
        more save state in run query
      ea9b647d
  11. 05 Nov, 2007 4 commits
    • unknown's avatar
      preserve more of the state · ac7e0c85
      unknown authored
      ac7e0c85
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 2ef4fd08
      unknown authored
      into  mysql.com:/home/marty/MySQL/mysql-5.1-new-ndb
      
      
      2ef4fd08
    • unknown's avatar
      Merge mysql.com:/home/marty/MySQL/mysql-5.0-ndb · 18b54358
      unknown authored
      into  mysql.com:/home/marty/MySQL/mysql-5.1-new-ndb
      
      
      mysql-test/suite/ndb/r/ndb_insert.result:
        Auto merged
      mysql-test/suite/ndb/t/ndb_insert.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Using local, will merge manually
      sql/ha_ndbcluster.h:
        Merge
      sql/mysqld.cc:
        Merge
      18b54358
    • unknown's avatar
      ha_ndbcluster.h: · f7ee8825
      unknown authored
        Bug #31956       auto increment bugs in MySQL Cluster: Added utility method and constant for internal prefetch default
      ndb_auto_increment.result:
        BitKeeper file /home/marty/MySQL/mysql-5.0-ndb/mysql-test/r/ndb_auto_increment.result
      mysqld.cc:
        Bug #25176  	Trying to set ndb_autoincrement_prefetch_sz always fails: Changed pointer to max value
        Bug #31956  	auto increment bugs in MySQL Cluster: Changed meaning of ndb_autoincrement_prefetch_sz to specify prefetch between statements, changed default to 1 (with internal prefetch to at least 32 inside a statement)
      ndb_insert.test, ndb_insert.result:
        Moved auto_increment tests to ndb_auto_increment.test
      ndb_auto_increment.test:
        BitKeeper file /home/marty/MySQL/mysql-5.0-ndb/mysql-test/t/ndb_auto_increment.test
      ha_ndbcluster.cc:
        Bug #31956       auto increment bugs in MySQL Cluster: Changed meaning of ndb_autoincrement_prefetch_sz to specify prefetch between statements, changed default to 1 (with internal prefetch to at least 32 inside a statement), added handling of updates of pk/unique key with auto_increment
        Bug #32055  	Cluster does not handle auto inc correctly with insert ignore statement
      
      
      sql/mysqld.cc:
        Bug #25176  	Trying to set ndb_autoincrement_prefetch_sz always fails: Changed pointer to max value
        Bug #31956  	auto increment bugs in MySQL Cluster: Changed meaning of ndb_autoincrement_prefetch_sz to specify prefetch between statements, changed default to 1 (with internal prefetch to at least 32 inside a statement)
      sql/ha_ndbcluster.h:
        Bug #31956       auto increment bugs in MySQL Cluster: Added utility method and constant for internal prefetch default
      sql/ha_ndbcluster.cc:
        Bug #31956       auto increment bugs in MySQL Cluster: Changed meaning of ndb_autoincrement_prefetch_sz to specify prefetch between statements, changed default to 1 (with internal prefetch to at least 32 inside a statement), added handling of updates of pk/unique key with auto_increment
        Bug #32055  	Cluster does not handle auto inc correctly with insert ignore statement
      mysql-test/r/ndb_auto_increment.result:
        BitKeeper file /home/marty/MySQL/mysql-5.0-ndb/mysql-test/r/ndb_auto_increment.result
      mysql-test/t/ndb_auto_increment.test:
        BitKeeper file /home/marty/MySQL/mysql-5.0-ndb/mysql-test/t/ndb_auto_increment.test
      mysql-test/t/ndb_insert.test:
        Moved auto_increment tests to ndb_auto_increment.test
      mysql-test/r/ndb_insert.result:
        Moved auto_increment tests to ndb_auto_increment.test
      f7ee8825
  12. 03 Nov, 2007 1 commit
  13. 02 Nov, 2007 4 commits
  14. 01 Nov, 2007 1 commit