1. 02 Feb, 2007 1 commit
  2. 01 Feb, 2007 1 commit
  3. 31 Jan, 2007 1 commit
  4. 30 Jan, 2007 11 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
      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
  5. 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
  6. 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
  7. 27 Jan, 2007 1 commit
  8. 26 Jan, 2007 11 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1 · 0447c1e5
      unknown authored
      into  bk-internal.mysql.com:/data0/bk/mysql-5.1-arch
      
      
      0447c1e5
    • unknown's avatar
      Two things: · 5b8985cf
      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
      5b8985cf
    • unknown's avatar
      For performance reasons we remove the ability in unique indexes on... · c95bc8dc
      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
      c95bc8dc
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch · f69cfbf8
      unknown authored
      into  zim.(none):/home/brian/mysql/archive-newformat-5.1
      
      
      f69cfbf8
    • unknown's avatar
      This fixes a bug in show create table displaying auto_increment field when it should not. · 0bdc5a92
      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
      0bdc5a92
    • unknown's avatar
      Fixed a warning. Added the -A option so that the autoincrement could be set outside of the file. · 45a46fa1
      unknown authored
      
      storage/archive/archive_reader.c:
        Add option to autoincrement file.
      storage/archive/ha_archive.cc:
        Fixed warning
      45a46fa1
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0 · 6db6be5a
      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
      6db6be5a
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.1-opt · 33b73c20
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.1
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/item.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      33b73c20
    • unknown's avatar
      Merge mysql.com:/home/gluh/MySQL/Merge/5.0-opt · 92a7c1ed
      unknown authored
      into  mysql.com:/home/gluh/MySQL/Merge/5.0
      
      
      sql/item.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      92a7c1ed
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1 · d6759bed
      unknown authored
      into  bk-internal.mysql.com:/data0/bk/mysql-5.1-arch
      
      
      d6759bed
    • unknown's avatar
      Made the example actually do something :) · 8664552c
      unknown authored
      It now demonstrates creating its own thread and shows off how to clean up after itself (creates a really simple heartbeat file)
      
      
      plugin/daemon_example/Makefile.am:
        Added additional include
      plugin/daemon_example/daemon_example.cc:
        Created heart beat code.
      8664552c
  9. 25 Jan, 2007 10 commits