1. 10 Jan, 2008 3 commits
  2. 09 Jan, 2008 1 commit
  3. 30 Nov, 2007 1 commit
  4. 29 Nov, 2007 1 commit
    • unknown's avatar
      BUG#30417 Cluster misbehaves on auto-inc w/o PK. · 37b188cd
      unknown authored
      
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        The check that how many auto_increment columns in table are there should be preceded creating the table.
        If there are more than one auto_increment columns, the table shouldn't be created.
      mysql-test/suite/ndb/r/ndb_autoinc.result:
        Adding test case for auto_increment isn't the default primary key columns
      mysql-test/suite/ndb/t/ndb_autoinc.test:
        Adding test case for auto_increment isn't the default primary key columns
      37b188cd
  5. 14 Nov, 2007 2 commits
  6. 13 Nov, 2007 1 commit
  7. 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
  8. 28 Sep, 2007 1 commit
    • unknown's avatar
      BUG#28298 Node Id larger than MAX_NDB_NODES in config file doesn't generate error · 3a3e2c79
      unknown authored
      
      ndb/include/kernel/ndb_limits.h:
        1) define a macro MAX_DATA_NODE_ID to set the max ID of data nodes to be MAX_NDB_NODES - 1
        2) define a macro MAX_NODES_ID to set the max ID of API and MGM to be MAX_NODES -1
      ndb/src/mgmsrv/ConfigInfo.cpp:
        1) replace MAX_NODES with MAX_DATA_NODE_ID (= MAX_NDB_NODES - 1)  when the NodeId represents data nodes.
        2) replace MAX_NODES with MAX_NODES_ID (= MAX_NODES -1) when the NodeId represents API or MGM nodes.
      3a3e2c79
  9. 14 Sep, 2007 1 commit
    • unknown's avatar
      BUG#28647 Stop backup if disk full · dfc14639
      unknown authored
      
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Close files when disk full
      storage/ndb/src/ndbapi/ndberror.c:
        Add error messages for backup failure
      storage/ndb/test/src/NdbBackup.cpp:
        Add test case for disk full
      dfc14639
  10. 12 Sep, 2007 4 commits
  11. 11 Sep, 2007 3 commits
  12. 07 Sep, 2007 1 commit
  13. 06 Sep, 2007 2 commits
  14. 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
  15. 04 Sep, 2007 1 commit
  16. 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
  17. 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
  18. 30 Aug, 2007 1 commit