1. 05 Nov, 2007 2 commits
    • unknown's avatar
      Merge mysql.com:/home/marty/MySQL/mysql-5.0-ndb · 8cadc844
      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
      8cadc844
    • unknown's avatar
      ha_ndbcluster.h: · 5f8cdfd4
      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
      5f8cdfd4
  2. 01 Nov, 2007 4 commits
  3. 31 Oct, 2007 1 commit
    • unknown's avatar
      Adding dbutil to ndb test lib · d68b21bf
      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
      d68b21bf
  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 · bc166c30
      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.
      bc166c30
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/bug31810 · 809ef8a7
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      809ef8a7
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/mysql-5.1-telco-gca · 88b41549
      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
      88b41549
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/bug31761 · fe3ddd41
      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.
      fe3ddd41
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/bug31761 · e631fd54
      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
      e631fd54
    • unknown's avatar
      BUG#31810: Potential infinite loop with autoincrement failures in ndb · 43aced65
      unknown authored
      Fix extra semicolon causing if-statement to be disabled.
      
      
      sql/ha_ndbcluster.cc:
        Fix extra semicolon causing if-statement to be disabled.
      43aced65
    • unknown's avatar
      BUG#31761: Code for cluster is not safe for strict-alias optimization in new gcc · 750ae98f
      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.
      750ae98f
  6. 24 Oct, 2007 3 commits
  7. 23 Oct, 2007 1 commit
    • unknown's avatar
      ndb - bug#26450 · a4d77573
      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
      a4d77573
  8. 19 Oct, 2007 1 commit
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · 5bd8722f
      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
      5bd8722f
  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 · e82f007c
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/include/ndbapi/NdbOperation.hpp:
        Auto merged
      e82f007c
    • unknown's avatar
      ndb - reenable disabled testcases · 9d0ca582
      unknown authored
        ndb_load
        ndb_dd_sql_features
      
      
      mysql-test/suite/ndb/t/disabled.def:
        reenable disabled testcases
      9d0ca582
    • unknown's avatar
      ndb - bug#31482 · bdfca2e6
      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
      bdfca2e6
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb · 05056ecd
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      05056ecd
  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 · 96c0dea1
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      96c0dea1
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · 70dcad7b
      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
      70dcad7b
    • unknown's avatar
      ndb - · f3ef7762
      unknown authored
        decrease test time
      
      
      storage/ndb/test/run-test/daily-basic-tests.txt:
        decrease test time
      f3ef7762
    • unknown's avatar
      ndb - bug#31525 · 2d9aecd3
      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
      2d9aecd3
  14. 10 Oct, 2007 1 commit