1. 05 Feb, 2007 3 commits
    • unknown's avatar
      ndb - some more hugo abort option fix · 3a8a328e
      unknown authored
      
      storage/ndb/test/src/HugoTransactions.cpp:
        restore some accidently removed hugo code
      storage/ndb/test/src/UtilTransactions.cpp:
        one more abort option fix
      3a8a328e
    • unknown's avatar
      ndb - · 598b8dfd
      unknown authored
      Add abort option to lots of Hugo code, 
      as it assumes it and default value has changed
      
      
      storage/ndb/test/src/HugoTransactions.cpp:
        Add abort option to lots of Hugo code, 
        as it assumes it and default value has changed
      storage/ndb/test/src/UtilTransactions.cpp:
        Add abort option to lots of Hugo code, 
        as it assumes it and default value has changed
      598b8dfd
    • unknown's avatar
      ndb - bug#25801 · 0a27a90a
      unknown authored
        - improve error message if starting wo/ enough REDO
        - decrease likelyhood of trying to start too early
      
      
      storage/ndb/include/mgmapi/ndbd_exit_codes.h:
        Add new error code (that maybe should have been there a looong time)
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Add new check (during SR) for that sufficient REDO is present
          before continuing SR
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Add list of GCI's of nodes so that we can check for sufficient REDO during a SR
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Add check for REDO during SR
          so that
        1) cluster is not trying to start too soon
        2) a better error message (than internal error) is provided if not enough REDO is present
      storage/ndb/src/kernel/error/ndbd_exit_codes.c:
        Add new error code (that maybe should have been there a looong time)
      0a27a90a
  2. 02 Feb, 2007 6 commits
  3. 01 Feb, 2007 9 commits
  4. 31 Jan, 2007 4 commits
  5. 30 Jan, 2007 12 commits
    • unknown's avatar
      c6c436f8
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · 7c9da59b
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/ndb/include/ndbapi/NdbOperation.hpp:
        Auto merged
      storage/ndb/include/ndbapi/NdbTransaction.hpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbBlob.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbIndexStat.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbOperationDefine.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbOperationExec.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      storage/ndb/test/include/HugoOperations.hpp:
        Auto merged
      storage/ndb/test/ndbapi/testNdbApi.cpp:
        Auto merged
      storage/ndb/test/src/HugoOperations.cpp:
        Auto merged
      7c9da59b
    • unknown's avatar
      ndb - interface change of handling of abort option · 16c58c11
      unknown authored
      1) move AbortOption from NdbTransaction to NdbOperation
      
      2) let each operation have a "default" abort option dependant on
         operation type
      
         - read - AO_IgnoreError
         - dml - AbortOnError
         - scan take over - AbortOnError
      
      3) Changed default value to execute() from AbortOnError to DefaultAbortOption, which does not change the operations abort-option.
      
         Another value to execute(AO) is equivalent to setting AO on each operation before calling execute
      
      4) execute() does _only_ return -1 if transaction has been aborted
         otherwise, you need to check each operation for error code
      
      
      sql/ha_ndbcluster.cc:
        adopt to changes in aption option handling
      storage/ndb/include/ndbapi/NdbOperation.hpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/include/ndbapi/NdbTransaction.hpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/src/ndbapi/NdbBlob.cpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/src/ndbapi/NdbIndexStat.cpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/src/ndbapi/NdbOperationDefine.cpp:
        Put default value on abortoption dependant on operation type
      storage/ndb/src/ndbapi/NdbOperationExec.cpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/test/include/HugoOperations.hpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/test/ndbapi/testNdbApi.cpp:
        Move "ownership" of AbortOption to operation from transaction
      storage/ndb/test/src/HugoOperations.cpp:
        Move "ownership" of AbortOption to operation from transaction
      16c58c11
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · cb2d1c06
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      cb2d1c06
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · a3fafb90
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/include/ndbapi/NdbIndexOperation.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/ndbapi/Ndb.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbIndexOperation.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testBlobs.cpp:
        Auto merged
      a3fafb90
    • unknown's avatar
      ndb - · faac0f1d
      unknown authored
        remove copy/paste method in NdbIndexOperation
      
      
      storage/ndb/include/ndbapi/NdbIndexOperation.hpp:
        remove reduntant method
      storage/ndb/src/ndbapi/NdbIndexOperation.cpp:
        remove redundant method
      faac0f1d
    • unknown's avatar
      ndb - minor style fixes · 1425684e
      unknown authored
        
      
      
      storage/ndb/src/ndbapi/Ndb.cpp:
        Fix usage of correct types internally to ndbapi
      storage/ndb/test/ndbapi/testBlobs.cpp:
        minor fixes to testBlobs
      1425684e
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1 · ec325167
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      ec325167
    • unknown's avatar
      valgrind leak · 00985ac9
      unknown authored
      - no injected events if operation is not connected
      - remove extra valgrind checks
      
      
      sql/ha_ndbcluster_binlog.cc:
        removed extra valgrind check
      storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        valgrind leak
        - no injected events if operation is not connected
      00985ac9
    • unknown's avatar
      Bug#23546, Cluster configured without any arbitration · c08aca36
      unknown authored
      
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        add a judgement for arbitration rank configuration, if neither MGMD nor API nodes
        are configured with rank = 0, show warning information;
        correct indentations around patch;
      c08aca36
    • unknown's avatar
      ndb - added extra valgrind memleak checks to try to track leak · b15f6e2d
      unknown authored
      
      sql/ha_ndbcluster_binlog.cc:
        added extra valgrind memleak checks to try to track leak
      b15f6e2d
    • unknown's avatar
      ndb - · 80db1a21
      unknown authored
        two small fixes for TC
          1) use static syntax
          2) fix attlen handling in unique index
      
      
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) use static syntax
        2) fix attlen handling in unique index
      80db1a21
  6. 29 Jan, 2007 2 commits
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch · c8630927
      unknown authored
      into  zim.(none):/home/brian/mysql/archive-newformat-5.1
      
      
      c8630927
    • unknown's avatar
      Extended mysqlslap.c for auto tests (see the comment on the mysqlslap.c file).... · cdc6bd71
      unknown authored
      Extended mysqlslap.c for auto tests (see the comment on the mysqlslap.c file). I also fixed a bug where limit was not being reached. 
      
      
      client/client_priv.h:
        More options
      client/mysqlslap.c:
        Extended the auto-sql in the following ways:
        1) You can now specify a load type of either "mixed", "read", or "write". Not great, but a definite improvement.
        2) A new option allows you to specify how many rows are inserted for the "read" load. 
        
        I also fixed a bug where limit was not being reached by running threads.
      mysql-test/r/mysqlslap.result:
        Updated results
      cdc6bd71
  7. 28 Jan, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · 87bc4822
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testBasic.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      87bc4822
    • unknown's avatar
      ndb - Fix so that node version is recomputed at node failure · 52d0dbd7
      unknown authored
      
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Fix so that node version is recomputed at node failure
      52d0dbd7
  8. 27 Jan, 2007 1 commit
  9. 26 Jan, 2007 1 commit