1. 13 Sep, 2007 4 commits
    • unknown's avatar
      BUG#30996: Committed too early when autocommit and lock table · 0e4dfea6
      unknown authored
      Moved out a lot of code into functions from external_lock and
      start_stmt
      Fixed a crashing bug at memory alloc failure
      Merged the stmt and all variables into one trans variable
      Always register start of statement as according to the
      interface of the handlers.
      Also register for start of transaction when not statement commit
      == not autocommit AND no begin - commit ongoing
      Now that we registered in a proper manner we also needed to handle
      the commit call when end of statement and transaction is ongoing
      Added start_stmt_count to know when we have start of statement
      for first table
      
      
      mysql-test/suite/ndb/r/ndb_lock_table.result:
        Added a new test case for bug30996
      mysql-test/suite/ndb/t/ndb_lock_table.test:
        Added a new test case for bug30996
      sql/ha_ndbcluster.cc:
        Moved out a lot of code into functions from external_lock and
        start_stmt
        Fixed a crashing bug at memory alloc failure
        Merged the stmt and all variables into one trans variable
        Always register start of statement as according to the
        interface of the handlers.
        Also register for start of transaction when not statement commit
        == not autocommit AND no begin - commit ongoing
        Now that we registered in a proper manner we also needed to handle
        the commit call when end of statement and transaction is ongoing
        Added start_stmt_count to know when we have start of statement
        for first table
      sql/ha_ndbcluster.h:
        New functions and merged variables
      0e4dfea6
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb · f822dd49
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      f822dd49
    • unknown's avatar
      Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb · e1ce5fc4
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster_cond.cc:
        Auto merged
      e1ce5fc4
    • unknown's avatar
  2. 12 Sep, 2007 4 commits
  3. 11 Sep, 2007 3 commits
  4. 07 Sep, 2007 1 commit
  5. 06 Sep, 2007 2 commits
  6. 05 Sep, 2007 10 commits
    • unknown's avatar
      change printout to be a warning · f3f69de0
      unknown authored
      f3f69de0
    • unknown's avatar
      moving these tests to suite ndb_team · 87a0250e
      unknown authored
      
      mysql-test/suite/ndb_team/t/ndb_autodiscover2-master.opt:
        Rename: mysql-test/suite/ndb/t/ndb_autodiscover2-master.opt -> mysql-test/suite/ndb_team/t/ndb_autodiscover2-master.opt
      mysql-test/suite/ndb_team/t/ndb_autodiscover2.test:
        Rename: mysql-test/suite/ndb/t/ndb_autodiscover2.test -> mysql-test/suite/ndb_team/t/ndb_autodiscover2.test
      mysql-test/suite/ndb_team/t/ndb_autodiscover.test:
        Rename: mysql-test/suite/ndb/t/ndb_autodiscover.test -> mysql-test/suite/ndb_team/t/ndb_autodiscover.test
      mysql-test/suite/ndb_team/t/ndb_autodiscover3.test:
        Rename: mysql-test/suite/ndb/t/ndb_autodiscover3.test -> mysql-test/suite/ndb_team/t/ndb_autodiscover3.test
      mysql-test/suite/ndb_team/r/ndb_autodiscover.result:
        Rename: mysql-test/suite/ndb/r/ndb_autodiscover.result -> mysql-test/suite/ndb_team/r/ndb_autodiscover.result
      mysql-test/suite/ndb_team/r/ndb_autodiscover2.result:
        Rename: mysql-test/suite/ndb/r/ndb_autodiscover2.result -> mysql-test/suite/ndb_team/r/ndb_autodiscover2.result
      mysql-test/suite/ndb_team/r/ndb_autodiscover3.result:
        Rename: mysql-test/suite/ndb/r/ndb_autodiscover3.result -> mysql-test/suite/ndb_team/r/ndb_autodiscover3.result
      mysql-test/suite/ndb_team/t/disabled.def:
        BitKeeper file /home/tomas/mysql-5.1-new-ndb/mysql-test/suite/ndb_team/t/disabled.def
      87a0250e
    • unknown's avatar
      tests actually work in statement based · 2bccf03a
      unknown authored
      2bccf03a
    • unknown's avatar
      correct include file · 53c3d83e
      unknown authored
      53c3d83e
    • unknown's avatar
      Merge lzhou@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb-bj · 72f0781c
      unknown authored
      into  dev3-63.(none):/home/zhl/mysql/mysql-5.1/bug27543
      
      
      storage/ndb/tools/restore/Restore.cpp:
        Remove additional space when merge
      72f0781c
    • unknown's avatar
      correct include file · 915e0e06
      unknown authored
      915e0e06
    • unknown's avatar
      Merge lzhou@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb-bj · ce527aab
      unknown authored
      into  dev3-63.(none):/home/zhl/mysql/mysql-5.1/bug30024
      
      
      storage/ndb/tools/restore/Restore.cpp:
        Auto merged
      ce527aab
    • unknown's avatar
      BUG#27543 Backup and restore can compatible with different endians for blob attribute · 85796f4a
      unknown authored
      
      mysql-test/Makefile.am:
        Add install data for new test case
      storage/ndb/tools/restore/Restore.cpp:
        Convert blob(text) length stored in main table
      mysql-test/std_data/ndb_backup51_data_be/BACKUP-1-0.1.Data:
        test data for endian test
      mysql-test/std_data/ndb_backup51_data_be/BACKUP-1-0.2.Data:
        test data for endian test
      mysql-test/std_data/ndb_backup51_data_be/BACKUP-1.1.ctl:
        test data for endian test
      mysql-test/std_data/ndb_backup51_data_be/BACKUP-1.1.log:
        test data for endian test
      mysql-test/std_data/ndb_backup51_data_be/BACKUP-1.2.ctl:
        test data for endian test
      mysql-test/std_data/ndb_backup51_data_be/BACKUP-1.2.log:
        test data for endian test
      mysql-test/std_data/ndb_backup51_data_le/BACKUP-1-0.1.Data:
        test data for endian test
      mysql-test/std_data/ndb_backup51_data_le/BACKUP-1-0.2.Data:
        test data for endian test
      mysql-test/std_data/ndb_backup51_data_le/BACKUP-1.1.ctl:
        test data for endian test
      mysql-test/std_data/ndb_backup51_data_le/BACKUP-1.1.log:
        test data for endian test
      mysql-test/std_data/ndb_backup51_data_le/BACKUP-1.2.ctl:
        test data for endian test
      mysql-test/std_data/ndb_backup51_data_le/BACKUP-1.2.log:
        test data for endian test
      mysql-test/suite/ndb/r/ndb_restore_different_endian_data.result:
        test result for endian test
      mysql-test/suite/ndb/t/ndb_restore_different_endian_data.test:
        test case for endian test
      85796f4a
    • unknown's avatar
      getting rid of flush altogether, fix with post_epoch hendeling and/or changes in Rows_log_event · d29933c3
      unknown authored
      - problem is the database name accessed in Rows_log_event write... get_db() which is a pointer to the share string...
      - point to table map instead?
      - or copy it?
      - or make sure that anything interacting with the share happens _after_ the epoch
      
      Problem with flush is that STMT_END_F may not be included as it shoudld...
      
      d29933c3
    • unknown's avatar
      this flush with flag TRUE causes spurious errors in the binlog... as it will... · b64b3276
      unknown authored
      this flush with flag TRUE causes spurious errors in the binlog... as it will insert a STMT_END_F... and hence an invalid binlog (missing table mappings)
      
      
      b64b3276
  7. 04 Sep, 2007 1 commit
  8. 03 Sep, 2007 3 commits
    • unknown's avatar
      ndb - merge error code · 1df6a9e8
      unknown authored
        forgot to update next TC no
      
      1df6a9e8
    • unknown's avatar
      ndb - merge error code(s) · 79b85087
      unknown authored
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        merge error code(s)
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        merge error code(s)
      storage/ndb/test/ndbapi/testIndex.cpp:
        merge error code(s)
      79b85087
    • unknown's avatar
      ndb - bug#30764 · 867d4ee0
      unknown authored
        When adding a read to lock queue, where there is a X-lock ahead, upgrade to X-lock
        (found by pekkas blob changes)
      
      
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        When adding a read to lock queue, where there is a X-lock ahead, upgrade to X-lock
        (found by pekkas blob changes)
      867d4ee0
  9. 31 Aug, 2007 3 commits
    • unknown's avatar
      ndb - autotest · 8ba5659a
      unknown authored
        remove more "extra mysql-"
      
      
      storage/ndb/test/run-test/autotest-run.sh:
        remove more "extra mysql-"
      8ba5659a
    • unknown's avatar
      ndb autotest · 027ce165
      unknown authored
       add --tag
       remove prepended mysql-
        add conf-test.cnf
        add embryo upgrade-boot.sh
      
      
      storage/ndb/test/run-test/Makefile.am:
        add test test conf
      storage/ndb/test/run-test/autotest-boot.sh:
        add --tag to autotest
        remove "extra" appended mysql- to all scripts
      storage/ndb/test/run-test/autotest-run.sh:
        remove extra "mysql-"
      storage/ndb/test/run-test/conf-test.cnf:
        New BitKeeper file ``storage/ndb/test/run-test/conf-test.cnf''
      storage/ndb/test/run-test/upgrade-boot.sh:
        New BitKeeper file ``storage/ndb/test/run-test/upgrade-boot.sh''
      027ce165
    • unknown's avatar
      merge · 2e426cf8
      unknown authored
      2e426cf8
  10. 30 Aug, 2007 7 commits
    • unknown's avatar
    • unknown's avatar
      Bug#20872 master*.err: miscellaneous error messages · 411742c1
      unknown authored
      
      sql/ha_ndbcluster.cc:
        Bug#20872 master*.err: miscellaneous error messages
        - only allocate share if fully successfull
      sql/ha_ndbcluster_binlog.cc:
        Bug#20872 master*.err: miscellaneous error messages
        - only allocate share if fully successfull
        - no need to print error, my_errno is set
      sql/ha_ndbcluster_binlog.h:
        Bug#20872 master*.err: miscellaneous error messages
        - only allocate share if fully successfull
      411742c1
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 97c2ccad
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      97c2ccad
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb · 274a8f79
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbBlob.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testIndex.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        manual merge
      storage/ndb/src/ndbapi/ndberror.c:
        manual merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        manual merge
      274a8f79
    • unknown's avatar
      Bug#20872 master*.err: miscellaneous error messages · cf04599e
      unknown authored
      
      sql/ha_ndbcluster.cc:
        remove warning for table exists in mysqld error log
      sql/ha_ndbcluster_binlog.cc:
        remove warning for table exists in mysqld error log
      cf04599e
    • unknown's avatar
      Merge jhe@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 81e20a84
      unknown authored
      into  dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.1/mysql-5.1-new-ndb-bj.merge
      
      
      mysql-test/Makefile.am:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/ndb/tools/restore/Restore.cpp:
        Auto merged
      storage/ndb/tools/restore/restore_main.cpp:
        Auto merged
      mysql-test/suite/ndb/r/ndb_restore_compat.result:
        Auto merged
      mysql-test/suite/ndb/t/ndb_restore_compat.test:
        Auto merged
      81e20a84
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · a77a98e3
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.1/ndb
      
      a77a98e3
  11. 29 Aug, 2007 2 commits