1. 12 Nov, 2007 1 commit
    • unknown's avatar
      BUG#29186 Return error to client in the following condition: · dc7ee1f3
      unknown authored
                1: Create a log file which is larger than 4G in 32-bit host.
                2: Create a data file (tablespace) which is larger than 4G in 32-bit host.
      
      
      storage/ndb/include/kernel/signaldata/CreateFilegroupImpl.hpp:
        Add error code for log file too large
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        Add error insert code in lgman and tsman
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Add error code definination of lgman and tsman
      storage/ndb/src/kernel/blocks/lgman.cpp:
        Return REF when log file more than 4G in 32-bits host
      storage/ndb/src/kernel/blocks/tsman.cpp:
        return FER when data file larger than 4G in 32-bits host
      storage/ndb/src/ndbapi/ndberror.c:
        Add describe of new errorCode
      storage/ndb/test/ndbapi/testDict.cpp:
        Add test case for bug29186
      dc7ee1f3
  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 · 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
  7. 04 Sep, 2007 1 commit
  8. 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
  9. 31 Aug, 2007 3 commits
    • 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
    • unknown's avatar
      ndb autotest · 26f6d3f6
      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''
      26f6d3f6
    • unknown's avatar
      merge · 72759bc2
      unknown authored
      72759bc2
  10. 30 Aug, 2007 7 commits
    • unknown's avatar
    • unknown's avatar
      Bug#20872 master*.err: miscellaneous error messages · 06d1c628
      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
      06d1c628
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · bfa05f52
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      bfa05f52
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb · 77f2400a
      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
      77f2400a
    • unknown's avatar
      Bug#20872 master*.err: miscellaneous error messages · cfb1ba01
      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
      cfb1ba01
    • unknown's avatar
      Merge jhe@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 2e081a2d
      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
      2e081a2d
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 4ad9539a
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.1/ndb
      
      
      4ad9539a
  11. 29 Aug, 2007 5 commits
    • unknown's avatar
      Fix pushbuild test failures which occur on big-endian systems. · 053c9d1c
      unknown authored
        Do not convert innodb autoincrement value to little endian when on
        big endian systems.
      
      
      storage/innobase/row/row0sel.c:
        Do not convert innodb autoincrement value to little endian when on
        big endian systems.
      053c9d1c
    • unknown's avatar
      ndb - bug#29102 : use locked read even for blob parts · cc0750ac
      unknown authored
      
      ndb/src/ndbapi/NdbBlob.cpp:
        race condition : s/committedRead/readTuple/ when reading parts since TUP commits tuples separately
      cc0750ac
    • unknown's avatar
      Merge kindahl-laptop.dnsalias.net:/home/bk/b29968-merge-5.1-rpl · 3e82da7a
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/merge-5.1-target-5.1.22
      
      
      3e82da7a
    • unknown's avatar
      BUG#29968 (rpl_ndb_circular.test and rpl_ndb_log.test fail): · e5c8240a
      unknown authored
      Removing unguarded read of slave_running field from inside
      terminate_slave_threads(). This could cause premature exit in the event
      that the slave thread already were shutting down, but isn't finished yet.
      
      The fields slave_running, io_thd, and sql_thread are guarded by an
      associated run_lock. A read of these fields were not guarded inside
      terminate_slave_threads(), which caused an assertion to fire. The
      assertion was removed, and the code reorganized slightly.
      
      
      sql/slave.cc:
        Changing signature of terminate_slave_thread() to accept a skip_lock
        parameter instead of two mutexes. This mimics the signature of the
        terminate_slave_threads() function. Code is also changed as a result
        of this.
        
        Removing unguarded check of slave_running field in the master info and
        relay log info structure since that could cause premature exit of
        terminate_slave_threads().
        
        The thread variable for each of the slave threads can change before
        acquiring the run_lock mutex inside terminate_slave_thread(). Hence
        an assertion was removed that read the variable without guarding it
        with run_lock.
        
        Code that checked *slave_running status inside terminate_slave_thread()
        was reorganized slightly.
      sql/slave.h:
        Moving terminate_slave_thread() to use internal linkage.
      e5c8240a
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-target-5.1.22 · 3a4ee96a
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb-merge
      
      
      sql/field.cc:
        Auto merged
      3a4ee96a