1. 02 Feb, 2007 3 commits
  2. 01 Feb, 2007 9 commits
  3. 31 Jan, 2007 4 commits
  4. 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
  5. 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
  6. 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
  7. 27 Jan, 2007 1 commit
  8. 26 Jan, 2007 7 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
    • unknown's avatar
      For performance reasons we remove the ability in unique indexes on... · 0c1d02e4
      unknown authored
      For performance reasons we remove the ability in unique indexes on autoincrements to remove the ability to insert key lower then the current autoincrement value.
      
      
      mysql-test/r/archive.result:
        Modified error output
      mysql-test/t/archive.test:
        Fix for the change in behavior
      storage/archive/ha_archive.cc:
        ifdef of the search record code
      0c1d02e4
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch · 4386c296
      unknown authored
      into  zim.(none):/home/brian/mysql/archive-newformat-5.1
      
      4386c296
    • unknown's avatar
      This fixes a bug in show create table displaying auto_increment field when it should not. · 91d802c4
      unknown authored
      It also refactors the test case for Archive (removed two bad tests).
      
      
      mysql-test/r/archive.result:
        refactor archive test
      mysql-test/t/archive.test:
        Large  refactoring of Archive test
      storage/archive/ha_archive.cc:
        Updated comments.
        Added NULL packing hack
        Fixed bug in wrong display of auto increment in show create table
      91d802c4
    • unknown's avatar
      Fixed a warning. Added the -A option so that the autoincrement could be set outside of the file. · 143551fa
      unknown authored
      
      storage/archive/archive_reader.c:
        Add option to autoincrement file.
      storage/archive/ha_archive.cc:
        Fixed warning
      143551fa
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0 · eda2e5c7
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1
      
      
      sql/item.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      eda2e5c7