1. 28 Sep, 2007 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · d9bba820
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/pgman.cpp:
        Auto merged
      storage/ndb/test/src/UtilTransactions.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        merge
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        merge
      storage/ndb/test/src/HugoTransactions.cpp:
        merge
      d9bba820
    • unknown's avatar
      ndb - add new testcases/error insert bug#30975 · 9e54eeee
      unknown authored
        (recommit for correct merge order)
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        new error code
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        add error inserts
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        add error insert
      storage/ndb/src/kernel/blocks/pgman.cpp:
        add error inserts
      storage/ndb/test/include/HugoTransactions.hpp:
        add 
        - loadTableStartFrom
        - scanUpdate with scanflags
        - fillTableStartFrom
      storage/ndb/test/include/UtilTransactions.hpp:
        add
        - clearTable with scan flags
      storage/ndb/test/ndbapi/testSystemRestart.cpp:
        add new testcases
      storage/ndb/test/run-test/daily-basic-tests.txt:
        add new testcases
      storage/ndb/test/src/HugoTransactions.cpp:
        add new functions
      storage/ndb/test/src/UtilTransactions.cpp:
        add new functions
      9e54eeee
  2. 25 Sep, 2007 5 commits
    • unknown's avatar
      Merge dator6.(none):/home/mikael/mysql_clones/mysql-5.1-ndb · 9b428b9e
      unknown authored
      into  dator6.(none):/home/mikael/mysql_clones/bug30996
      
      
      9b428b9e
    • unknown's avatar
      ndb_rand.c: · 10fbce08
      unknown authored
        Rename: ndb/src/common/util/ndb_rand.c -> storage/ndb/src/common/util/ndb_rand.c
      ndb_rand.h:
        Rename: ndb/include/util/ndb_rand.h -> storage/ndb/include/util/ndb_rand.h
      
      
      storage/ndb/include/util/ndb_rand.h:
        Rename: ndb/include/util/ndb_rand.h -> storage/ndb/include/util/ndb_rand.h
      storage/ndb/src/common/util/ndb_rand.c:
        Rename: ndb/src/common/util/ndb_rand.c -> storage/ndb/src/common/util/ndb_rand.c
      10fbce08
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb · 5fe076d6
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.1/ndb
      
      
      storage/ndb/src/common/util/Makefile.am:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      5fe076d6
    • unknown's avatar
      [PATCH] BUG#30379 Better randomise time before retry in timeout check (DBTC) · f7886540
      unknown authored
      timoOutLoopStartLab() checks if any transactions have been delayed
      for so long that we are forced to perform some action (e.g. abort,
      resend etc).
      
      It is *MEANT* to (according to the comment):
      > To avoid aborting both transactions in a deadlock detected by time-out
      > we insert a random extra time-out of upto 630 ms by using the lowest
      > six bits of the api connect reference.
      > We spread it out from 0 to 630 ms if base time-out is larger than 3 sec,
      > we spread it out from 0 to 70 ms if base time-out is smaller than 300 msec,
      > and otherwise we spread it out 310 ms.
      
      The comment (as all do) lies.
      
      the API connect reference is not very random, producing incredibly
      predictable "random" numbers. This could lead to both txns being
      aborted instead of just one.
      
      Before:
      timeout value: 123 3
      timeout value: 122 2
      timeout value: 122 2
      timeout value: 122 2
      timeout value: 123 3
      
      After:
      timeout value: 127 7
      timeout value: 126 6
      timeout value: 129 9
      timeout value: 139 19
      timeout value: 137 17
      timeout value: 151 31
      timeout value: 130 10
      timeout value: 132 12
      
      Index: ndb-work/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
      ===================================================================
      
      
      ndb/src/common/util/Makefile.am:
        BUG#30379 Better randomise time before retry in timeout check (DBTC)
      ndb/include/util/ndb_rand.h:
        BUG#30379 Better randomise time before retry in timeout check (DBTC)
      ndb/src/common/util/ndb_rand.c:
        BUG#30379 Better randomise time before retry in timeout check (DBTC)
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        BUG#30379 Better randomise time before retry in timeout check (DBTC)
      f7886540
    • unknown's avatar
      Merge dator6.(none):/home/mikael/mysql_clones/mysql-5.1-ndb · 8e3581c7
      unknown authored
      into  dator6.(none):/home/mikael/mysql_clones/bug30996
      
      
      8e3581c7
  3. 19 Sep, 2007 1 commit
    • unknown's avatar
      NDBT_Thread.cpp: · bb7b00c9
      unknown authored
        Removed semicolon causing build syntax issues per pekka
      
      
      storage/ndb/test/src/NDBT_Thread.cpp:
        Removed semicolon causing build syntax issues per pekka
      bb7b00c9
  4. 15 Sep, 2007 1 commit
  5. 14 Sep, 2007 1 commit
  6. 13 Sep, 2007 5 commits
    • unknown's avatar
      BUG#30996: Committed too early when autocommit and lock table · 5f95f01b
      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
      5f95f01b
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · a0403f7a
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
      
      
      a0403f7a
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb · 577a1633
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      577a1633
    • unknown's avatar
      Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb · 39d84594
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster_cond.cc:
        Auto merged
      39d84594
    • unknown's avatar
  7. 12 Sep, 2007 4 commits
  8. 11 Sep, 2007 3 commits
  9. 07 Sep, 2007 1 commit
  10. 06 Sep, 2007 2 commits
  11. 05 Sep, 2007 10 commits
    • unknown's avatar
      change printout to be a warning · d02df3b1
      unknown authored
      d02df3b1
    • unknown's avatar
      moving these tests to suite ndb_team · 91f14cdb
      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
      91f14cdb
    • unknown's avatar
      tests actually work in statement based · 4a3825c4
      unknown authored
      4a3825c4
    • unknown's avatar
      correct include file · f215ae97
      unknown authored
      f215ae97
    • unknown's avatar
      Merge lzhou@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb-bj · c36bc160
      unknown authored
      into  dev3-63.(none):/home/zhl/mysql/mysql-5.1/bug27543
      
      
      storage/ndb/tools/restore/Restore.cpp:
        Remove additional space when merge
      c36bc160
    • unknown's avatar
      correct include file · cd2450a1
      unknown authored
      cd2450a1
    • unknown's avatar
      Merge lzhou@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb-bj · b6f32795
      unknown authored
      into  dev3-63.(none):/home/zhl/mysql/mysql-5.1/bug30024
      
      
      storage/ndb/tools/restore/Restore.cpp:
        Auto merged
      b6f32795
    • unknown's avatar
      BUG#27543 Backup and restore can compatible with different endians for blob attribute · 9462359e
      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
      9462359e
    • unknown's avatar
      getting rid of flush altogether, fix with post_epoch hendeling and/or changes in Rows_log_event · 6c34c63d
      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...
      
      
      6c34c63d
    • unknown's avatar
      this flush with flag TRUE causes spurious errors in the binlog... as it will... · 1eed753e
      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)
      
      
      
      1eed753e
  12. 04 Sep, 2007 1 commit
  13. 03 Sep, 2007 3 commits
    • unknown's avatar
      ndb - merge error code · 3afbd332
      unknown authored
        forgot to update next TC no
      
      
      3afbd332
    • unknown's avatar
      ndb - merge error code(s) · 3dbbc87c
      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)
      3dbbc87c
    • unknown's avatar
      ndb - bug#30764 · fb4604f2
      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)
      fb4604f2
  14. 31 Aug, 2007 1 commit
    • unknown's avatar
      ndb - autotest · 39a892aa
      unknown authored
        remove more "extra mysql-"
      
      
      storage/ndb/test/run-test/autotest-run.sh:
        remove more "extra mysql-"
      39a892aa