1. 05 Nov, 2007 2 commits
    • 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
  2. 01 Nov, 2007 4 commits
  3. 31 Oct, 2007 1 commit
    • unknown's avatar
      Adding dbutil to ndb test lib · 2848d22d
      unknown authored
      
      storage/ndb/test/include/dbutil.hpp:
        Hearder file for SQL Database Utilities class for adding MySQL SQL abilities to NDB API tests cases.
      storage/ndb/test/src/dbutil.cpp:
        Implementation file for SQL Database Utilities class for adding MySQL SQL abilities to NDB API tests cases.
      storage/ndb/test/src/Makefile.am:
        Updated to include dbutil
      2848d22d
  4. 26 Oct, 2007 2 commits
  5. 25 Oct, 2007 7 commits
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/mysql-5.0-ndb · 1ebb7098
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.1-new-ndb
      
      
      storage/ndb/include/kernel/AttributeHeader.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbOperationDefine.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        manual merge.
      1ebb7098
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/bug31810 · e9b98a5d
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      e9b98a5d
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/mysql-5.1-telco-gca · 6825b79b
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.1-new-ndb
      
      
      storage/ndb/include/kernel/AttributeHeader.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbOperationDefine.cpp:
        SCCS merged
      6825b79b
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/bug31761 · 29186ecd
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.1-telco-gca
      
      
      storage/ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Auto merged
      storage/ndb/include/kernel/AttributeHeader.hpp:
        manual merge.
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        manual merge.
      storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        manual merge.
      storage/ndb/src/ndbapi/NdbOperationDefine.cpp:
        manual merge.
      29186ecd
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/bug31761 · fd1730f4
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.0-ndb
      
      
      ndb/include/kernel/AttributeHeader.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Auto merged
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        SCCS merged
      fd1730f4
    • unknown's avatar
      BUG#31810: Potential infinite loop with autoincrement failures in ndb · 34279339
      unknown authored
      Fix extra semicolon causing if-statement to be disabled.
      
      
      sql/ha_ndbcluster.cc:
        Fix extra semicolon causing if-statement to be disabled.
      34279339
    • unknown's avatar
      BUG#31761: Code for cluster is not safe for strict-alias optimization in new gcc · 07865679
      unknown authored
      Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
      
      Using the same object as both Uint32 and class AttributeHeader violates
      strict aliasing rule.
      
      
      ndb/include/kernel/AttributeHeader.hpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      07865679
  6. 24 Oct, 2007 3 commits
  7. 23 Oct, 2007 1 commit
    • unknown's avatar
      ndb - bug#26450 · c61548f1
      unknown authored
        partial backport from 6.2 + add fix of bug
      
      
      storage/ndb/include/kernel/GlobalSignalNumbers.h:
        add prep_copy_frag
      storage/ndb/include/kernel/signaldata/AccScan.hpp:
        add new argument specifying which page to scan to
      storage/ndb/include/kernel/signaldata/CopyFrag.hpp:
        add new argument specifying which page to scan to
      storage/ndb/include/ndb_version.h.in:
        add versioning checks for prep_copy_frag
      storage/ndb/src/common/debugger/signaldata/SignalNames.cpp:
        add prep_copy_frag
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        new error codes
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        add new to-step
      storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        add new to-step
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        add new to-step
      storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        add new to-step
      storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        add new to-step
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        add new to-step
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        add new argument specifying which page to scan to
      storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        add utility to get max page used by fragment
      storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
        add NR scan to > frag.noOfPages
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        add testcase
      storage/ndb/test/run-test/daily-basic-tests.txt:
        add testcase
      storage/ndb/test/src/NdbRestarts.cpp:
        add testcase
      c61548f1
  8. 19 Oct, 2007 1 commit
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · 406e1433
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        Auto merged
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      406e1433
  9. 18 Oct, 2007 1 commit
  10. 15 Oct, 2007 4 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-simple-read · e8c4a6ba
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/include/ndbapi/NdbOperation.hpp:
        Auto merged
      e8c4a6ba
    • unknown's avatar
      ndb - reenable disabled testcases · 67b31b0f
      unknown authored
        ndb_load
        ndb_dd_sql_features
      
      
      mysql-test/suite/ndb/t/disabled.def:
        reenable disabled testcases
      67b31b0f
    • unknown's avatar
      ndb - bug#31482 · 007e29e2
      unknown authored
        (re)impl. simple-read (read that releases lock just before LQHKEYCONF)
        use simple-read for blobs
      
      
      storage/ndb/include/kernel/signaldata/TcKeyConf.hpp:
        rename bit
      storage/ndb/include/ndbapi/NdbOperation.hpp:
        add new lock-mode
      storage/ndb/src/common/debugger/signaldata/TcKeyConf.cpp:
        rename bit
      storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        remove aggregate
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        impl. simple-read = normal read + release lock just before LQHKEYCONF
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        impl. simple-read = normal read + release lock just before LQHKEYCONF
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        impl. simple-read = normal read + release lock just before LQHKEYCONF
      storage/ndb/src/ndbapi/NdbBlob.cpp:
        use simple read for blobs
      storage/ndb/src/ndbapi/NdbIndexOperation.cpp:
        no simple-read for ui (yet)
      storage/ndb/src/ndbapi/NdbOperationDefine.cpp:
        impl. simple-read
      storage/ndb/src/ndbapi/NdbOperationExec.cpp:
        impl. simple-read
      storage/ndb/src/ndbapi/NdbReceiver.cpp:
        impl. simple-read
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        no simple-read for scan (yet)
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        rename bit
      storage/ndb/test/ndbapi/testBasic.cpp:
        add testcase for simlpe-read
      storage/ndb/test/run-test/daily-basic-tests.txt:
        add testcase
      storage/ndb/test/src/HugoOperations.cpp:
        add simple-read
      007e29e2
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb · 35ec70ab
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      35ec70ab
  11. 14 Oct, 2007 5 commits
  12. 12 Oct, 2007 4 commits
  13. 11 Oct, 2007 4 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 72a432e2
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      72a432e2
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · f310dcc6
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      f310dcc6
    • unknown's avatar
      ndb - · 7de1ec1e
      unknown authored
        decrease test time
      
      
      storage/ndb/test/run-test/daily-basic-tests.txt:
        decrease test time
      7de1ec1e
    • unknown's avatar
      ndb - bug#31525 · e54c56b2
      unknown authored
        Fix bug regarding node that missed 2 LCP's (that was not included in next LCP after SR)
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        add new error codes for bug#31525
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        add new error codes for bug#31525
        fix bug, i.e include missing_2 in LCP
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        add testcase for bug#31525
      storage/ndb/test/run-test/daily-basic-tests.txt:
        add testcase for bug#31525
      e54c56b2
  14. 10 Oct, 2007 1 commit