1. 20 Oct, 2006 12 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · f4326d02
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/include/kernel/ndb_limits.h:
        Auto merged
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/backup/Backup.hpp:
        merge
      f4326d02
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 65f50416
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/include/kernel/ndb_limits.h:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.cpp:
        SCCS merged
      65f50416
    • unknown's avatar
      ndb - bug#23499 and bug#23502 · 9070859e
      unknown authored
        Fix some too small buffers in backup
        
      
      
      ndb/include/kernel/ndb_limits.h:
        backport for 5.1
        add MAX_WORDS_META_FILE for computing Backup::NO_OF_PAGES_META_FILE
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Make sure to set maxInsert so that we actually can handle NO_OF_META_PAGES
      ndb/src/kernel/blocks/backup/Backup.hpp:
        backport for 5.1
        add MAX_WORDS_META_FILE for computing Backup::NO_OF_PAGES_META_FILE
      9070859e
    • unknown's avatar
      ndb - bug#23494 · 53b1792e
      unknown authored
          Fix bug in restore with table with many columns, Compute size of databuffer pool correctly
      
      
      53b1792e
    • unknown's avatar
      ndb - · d54d43b6
      unknown authored
          Add better error message if getting error in RESTORE
      
      
      d54d43b6
    • unknown's avatar
      ndb - bug#22838 · 4df13366
      unknown authored
          when doing create unique index which mysql will silently converts to PK, ndb is not informed
          so table will be useless.
        
          change so that we never do online add index wo/ primary key.
          this is not good, but it's better than a useless table
      
      
      4df13366
    • unknown's avatar
      merge · 87449894
      unknown authored
      87449894
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 30c8b7bd
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      30c8b7bd
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · c54295f7
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      c54295f7
    • unknown's avatar
      ndb - · b81cc9c3
      unknown authored
        Fixed a 4.1/5.0 vs. 5.1 name change in latest SR bug fix
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fixed a 4.1/5.0 vs. 5.1 name change in latest SR bug fix
      b81cc9c3
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 8af99710
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      8af99710
    • unknown's avatar
      ndb - · 608e9207
      unknown authored
        Fix monster SR bug making SR with ordered indexes (or temporary tables) broken
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix monster SR bug making SR with ordered indexes (or temporary tables) broken
      608e9207
  2. 19 Oct, 2006 7 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · f0fb0d17
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      f0fb0d17
    • unknown's avatar
      ndb - add temporary tables to hugo · b8812c85
      unknown authored
        and use it for testOperations/testTransactions
      
      
      storage/ndb/test/include/NDBT_Test.hpp:
        Add support for temporary tables in hugo
      storage/ndb/test/ndbapi/testOperations.cpp:
        Make testOperations use temporary tables
      storage/ndb/test/ndbapi/testTransactions.cpp:
        Make testTransactions use temporary tables
      storage/ndb/test/src/NDBT_Tables.cpp:
        Add support for temporary tables in hugo
      storage/ndb/test/src/NDBT_Test.cpp:
        Add support for temporary tables in hugo
      b8812c85
    • unknown's avatar
      ndb - bug#22672 · e4a398f1
      unknown authored
        fix another incorrect assertion
      
      
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        clear m_transaction_nodes.clear()
        to avoid asserion in debug-compiled in releaseApiCon
      e4a398f1
    • unknown's avatar
      ndb - fix incorrect assertion · a1fa0ed4
      unknown authored
        Dont assert when getting gci=0 in read only transaction
      
      
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Dont assert when getting gci=0 in read only transaction
      a1fa0ed4
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · fdfabb82
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        merge
      fdfabb82
    • unknown's avatar
      ndb - bug#23200 · d262020f
      unknown authored
        this changes lock taken during peek, to decrease likelyhood of transaction abort
        
      
      
      sql/ha_ndbcluster.cc:
        use exclusive lock in peek, as peek is used just before insert/update
      d262020f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · eb1d1202
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      eb1d1202
  3. 18 Oct, 2006 9 commits
    • unknown's avatar
      ndb - bug#23430 · 591f3194
      unknown authored
        make sure not to release log buffer twice (or several times) in case of abort of multi update
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp:
        make sure not to release log buffer twice (or several times) in case of abort of multi update
      591f3194
    • unknown's avatar
      ndb - bug#23200 · 1028185a
      unknown authored
        Make sure postExecute is not run for blobs if AO_IgnoreError
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        If AO_IgnoreError, error codes arent always set on individual operations, making postExecute impossible
      1028185a
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb · bb06ec21
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_partition.cc:
        Auto merged
      sql/ha_partition.h:
        Auto merged
      bb06ec21
    • unknown's avatar
      BUG#19914 SELECT COUNT(*) sometimes returns MAX_INT on cluster tables · 81b19542
      unknown authored
      update partition engine for handler::info returning int
      
      
      sql/ha_partition.cc:
        update for handler::info returning int.
      sql/ha_partition.h:
        update for handler::info returning int.
      81b19542
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-ndb · 24584808
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.1/bug19914-mk2-merge
      
      
      24584808
    • unknown's avatar
      Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.1 · 0fa984e4
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      mysql-test/r/ndb_charset.result:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      0fa984e4
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/bug19914-mk2-merge · 9910031c
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.1/bug19914-mk2-merge
      
      
      BitKeeper/deleted/.del-ha_berkeley.cc:
        Auto merged
      BitKeeper/deleted/.del-ha_berkeley.h:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/archive/ha_archive.cc:
        Auto merged
      storage/blackhole/ha_blackhole.cc:
        Auto merged
      storage/blackhole/ha_blackhole.h:
        Auto merged
      storage/csv/ha_tina.cc:
        Auto merged
      storage/csv/ha_tina.h:
        Auto merged
      storage/example/ha_example.cc:
        Auto merged
      storage/example/ha_example.h:
        Auto merged
      storage/federated/ha_federated.cc:
        Auto merged
      storage/federated/ha_federated.h:
        Auto merged
      storage/heap/ha_heap.cc:
        Auto merged
      storage/heap/ha_heap.h:
        Auto merged
      storage/myisam/ha_myisam.h:
        Auto merged
      storage/myisammrg/ha_myisammrg.cc:
        Auto merged
      storage/ndb/include/kernel/GlobalSignalNumbers.h:
        Auto merged
      storage/ndb/include/mgmapi/mgmapi.h:
        Auto merged
      storage/ndb/include/ndb_version.h.in:
        Auto merged
      storage/ndb/include/ndbapi/NdbTransaction.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      storage/ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      storage/ndb/src/mgmclient/main.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      storage/ndb/tools/ndb_condig.cpp:
        Auto merged
      storage/ndb/tools/restore/restore_main.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        merge
      sql/ha_ndbcluster.h:
        merge
      sql/handler.h:
        merge
      sql/sql_delete.cc:
        merge
      storage/archive/ha_archive.h:
        merge
      storage/innobase/handler/ha_innodb.cc:
        merge
      storage/innobase/handler/ha_innodb.h:
        merge
      storage/myisam/ha_myisam.cc:
        merge
      storage/myisammrg/ha_myisammrg.h:
        merge
      9910031c
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.1/ndb · c2e8969a
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.1/bug21253
      
      
      c2e8969a
    • unknown's avatar
      Bug #19148 Backup causes cluster down if _really_ early abort happens · 7968c44c
      unknown authored
      Early abort, failing to allocate buffers, would go down the abort track and
       end up trying to sendDropTriggers (as the standard stop backup does). 
      However, it is possible to not have any tables yet defined in the backup 
      (due to allocating buffers is before this). Simple check in sendDropTrig 
      (and continue to next step). Files may be open, so we continue to close them.
      
      Also updated ERROR_Codes (and added one to test this bug).
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        update BACKUP error insert codes to reflect current reality.
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Allow for early abort when no tables have been included in backup.
        
        Allow for abort when file records have been seized but not yet allocated
        to specific uses (is the case when buffer allocation fails)
      storage/ndb/src/kernel/blocks/backup/Backup.hpp:
        initialize BackupRecord file Ptrs
      storage/ndb/test/src/NdbBackup.cpp:
        Add extra failure codes for buffer allocation failure in backup
      7968c44c
  4. 17 Oct, 2006 4 commits
  5. 16 Oct, 2006 8 commits
    • unknown's avatar
      Merge dator5.(none):/home/pappa/clean-mysql-5.1 · e1ff81bb
      unknown authored
      into  dator5.(none):/home/pappa/bug18198
      
      
      mysql-test/r/partition.result:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_partition.cc:
        Auto merged
      sql/ha_partition.h:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/partition_info.cc:
        Auto merged
      sql/sql_partition.cc:
        Auto merged
      sql/sql_partition.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/item_cmpfunc.h:
        e
      e1ff81bb
    • unknown's avatar
      ndb - replace explain 'rows' by '#' in ndb*.test - stats are not deterministic · 1e55b8dd
      unknown authored
      
      mysql-test/r/ndb_basic.result:
        replace explain 'rows' by '#' since it depends usually on non-deterministic index stats or non-exact row count
      mysql-test/r/ndb_blob.result:
        replace explain 'rows' by '#' since it depends usually on non-deterministic index stats or non-exact row count
      mysql-test/r/ndb_charset.result:
        replace explain 'rows' by '#' since it depends usually on non-deterministic index stats or non-exact row count
      mysql-test/r/ndb_condition_pushdown.result:
        replace explain 'rows' by '#' since it depends usually on non-deterministic index stats or non-exact row count
      mysql-test/r/ndb_dd_sql_features.result:
        replace explain 'rows' by '#' since it depends usually on non-deterministic index stats or non-exact row count
      mysql-test/r/ndb_subquery.result:
        replace explain 'rows' by '#' since it depends usually on non-deterministic index stats or non-exact row count
      mysql-test/t/ndb_basic.test:
        replace explain 'rows' by '#' since it depends usually on non-deterministic index stats or non-exact row count
      mysql-test/t/ndb_blob.test:
        replace explain 'rows' by '#' since it depends usually on non-deterministic index stats or non-exact row count
      mysql-test/t/ndb_charset.test:
        replace explain 'rows' by '#' since it depends usually on non-deterministic index stats or non-exact row count
      mysql-test/t/ndb_condition_pushdown.test:
        replace explain 'rows' by '#' since it depends usually on non-deterministic index stats or non-exact row count
      mysql-test/t/ndb_dd_sql_features.test:
        replace explain 'rows' by '#' since it depends usually on non-deterministic index stats or non-exact row count
      mysql-test/t/ndb_subquery.test:
        replace explain 'rows' by '#' since it depends usually on non-deterministic index stats or non-exact row count
      1e55b8dd
    • unknown's avatar
      Bug #21072 Duplicate key error in NDB references wrong key: Added new... · 64e9cd5b
      unknown authored
       Bug #21072  Duplicate key error in NDB references wrong key: Added new printout for duplicate key error when key is unknown
      
      
      
      64e9cd5b
    • unknown's avatar
      Bug #21072 Duplicate key error in NDB references wrong key: Added new... · a95a9fea
      unknown authored
       Bug #21072  Duplicate key error in NDB references wrong key: Added new printout for duplicate key error when key is unknown
      
      
      
      a95a9fea
    • unknown's avatar
      Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0 · f0161aac
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1
      
      
      mysql-test/r/ndb_charset.result:
        Using local, will re-generate
      mysql-test/r/ndb_index_unique.result:
        Using local, will re-generate
      f0161aac
    • unknown's avatar
    • unknown's avatar
      Merge orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-ndb · afc81b7e
      unknown authored
      into  orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-bug21191
      
      
      afc81b7e
    • unknown's avatar
      Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0 · b19aabd8
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1
      
      
      mysql-test/r/ndb_charset.result:
        Usin g local, will re-generate.
      mysql-test/r/ndb_index_unique.result:
        Using local, will re-generate
      mysql-test/r/ndb_update.result:
        Using local, will re-generate
      sql/ha_ndbcluster.cc:
        Merge
      sql/handler.cc:
        Merge
      b19aabd8