1. 05 Feb, 2007 2 commits
    • unknown's avatar
      ndb - · 251b3943
      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
      251b3943
    • unknown's avatar
      ndb - bug#25801 · 050ae050
      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)
      050ae050
  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
      b0d63539
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · dab3959d
      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
      dab3959d
    • unknown's avatar
      ndb - interface change of handling of abort option · 3d47ee3f
      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
      3d47ee3f
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 336d5d6a
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      336d5d6a
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · 5a1ebb64
      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
      5a1ebb64
    • unknown's avatar
      ndb - · 79a7a1c9
      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
      79a7a1c9
    • unknown's avatar
      ndb - minor style fixes · c470069e
      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
      c470069e
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1 · 7a397705
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      7a397705
    • unknown's avatar
      valgrind leak · f166da4d
      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
      f166da4d
    • unknown's avatar
      Bug#23546, Cluster configured without any arbitration · 6ed2170d
      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;
      6ed2170d
    • unknown's avatar
      ndb - added extra valgrind memleak checks to try to track leak · 4c04c66e
      unknown authored
      
      sql/ha_ndbcluster_binlog.cc:
        added extra valgrind memleak checks to try to track leak
      4c04c66e
    • unknown's avatar
      ndb - · a92c1a9b
      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
      a92c1a9b
  6. 29 Jan, 2007 2 commits
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch · 6b7d867c
      unknown authored
      into  zim.(none):/home/brian/mysql/archive-newformat-5.1
      
      6b7d867c
    • unknown's avatar
      Extended mysqlslap.c for auto tests (see the comment on the mysqlslap.c file).... · 3c380442
      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
      3c380442
  7. 28 Jan, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · 39e22486
      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
      39e22486
    • unknown's avatar
      ndb - Fix so that node version is recomputed at node failure · 3f80930d
      unknown authored
      
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Fix so that node version is recomputed at node failure
      3f80930d
  8. 27 Jan, 2007 1 commit
  9. 26 Jan, 2007 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1 · ab3abfec
      unknown authored
      into  bk-internal.mysql.com:/data0/bk/mysql-5.1-arch
      
      ab3abfec
    • unknown's avatar
      Two things: · 02d71f7b
      unknown authored
      1) Two small windows cleanups for Archive.
      2) Patch from Calvin for Falcon to be able to have its own I_S loaded. One example added for this, does hello world. 
      
      
      include/mysql/plugin.h:
        Added new I_S type.
      mysql-test/r/archive.result:
        Fixed not dropped table.
      mysql-test/t/archive.test:
        Added additional drop table
      sql/sql_plugin.cc:
        Adding support in for the I_S.
      sql/sql_show.cc:
        Added schema type for plugin I_S. Additional loops were added to pop these on to the end of requests.
      storage/archive/ha_archive.cc:
        Windwos typo
      02d71f7b