An error occurred fetching the project authors.
  1. 22 Sep, 2005 1 commit
    • unknown's avatar
      Add testcase for bug#13316 · 8e78ba93
      unknown authored
        ndb big alter table
      
      
      mysql-test/r/ndb_alter_table.result:
        Add testcase for bug#13316
      mysql-test/t/ndb_alter_table.test:
        Add testcase for bug#13316
      8e78ba93
  2. 18 Aug, 2005 1 commit
    • unknown's avatar
      bug#12118 - ndb alter table data loss · c7744c6d
      unknown authored
        Split table version into 2 (major, minor)
        Impl. signaling to API when table has been altered
        Allow running transactions to use any minor number for transactions
      
      
      mysql-test/r/ndb_alter_table.result:
        Allow running transactions to use old table definition when possible.
      mysql-test/t/ndb_alter_table.test:
        Allow running transactions to use old table definition when possible.
      ndb/include/kernel/BlockNumbers.h:
        remove GREP
      ndb/include/kernel/GlobalSignalNumbers.h:
        Add ALTER_TABL_REP and API_BROADCAST_REP
      ndb/include/kernel/kernel_types.h:
        table_version_major
      ndb/include/kernel/signaldata/AlterTable.hpp:
        New error code for alter table during rolling upgrade
      ndb/include/ndbapi/NdbDictionary.hpp:
        Add state on table object to represent an altered but still valid table object
      ndb/src/common/debugger/BlockNames.cpp:
        remove GREP
      ndb/src/common/util/version.c:
        Fix upgrades
      ndb/src/kernel/SimBlockList.cpp:
        remove GREP
      ndb/src/kernel/blocks/Makefile.am:
        remove GREP
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        remove GREP
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Split tableSchemaVersion into 2 part
        24 bit real version
         8 bit for online alter table where old table definition is still usable
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Check for same ndb versions
      ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp:
        Update schema printer
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove grep
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        1) Use table_ version_major when checking table version
        2) Dummy fix for BUG that tableSchemaVersion is only 16 bit in LQHKEYREQ
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        1) Use table_ version_major when checking table version
        2) Dummy fix for BUG that tableSchemaVersion is only 16 bit in LQHKEYREQ
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) Use table_ version_major when checking table version
        2) Dummy fix for BUG that tableSchemaVersion is only 16 bit in LQHKEYREQ
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        remove GREP
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Add support for sending REP to ALL api nodes
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        Add support for sending REP to ALL api nodes
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Add support for sending REP to ALL api nodes
      ndb/src/kernel/blocks/suma/Suma.cpp:
        remove GREP
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        remove GREP
      ndb/src/ndbapi/DictCache.cpp:
        Add support for alter_table_rep
          by setting status to Altered
        
        NOTE special handling of tables in state RETREIVING
      ndb/src/ndbapi/DictCache.hpp:
        Add support for alter_table_rep
          by setting status to Altered
        
        NOTE special handling of tables in state RETREIVING
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Change alter table so that remove from global cache is used wo/ retreiving it from there first
          as ALTER_TABLE_REP might already have changed the table object...
      ndb/src/ndbapi/TransporterFacade.cpp:
        Add support for ALTER_TABLE_REP
      sql/ha_ndbcluster.cc:
        Allow running transactions to use tables in state ALTERED...but new transactions may not...
      ndb/include/kernel/signaldata/ApiBroadcast.hpp:
        New BitKeeper file ``ndb/include/kernel/signaldata/ApiBroadcast.hpp''
      c7744c6d
  3. 04 Apr, 2005 1 commit
    • unknown's avatar
      BUG#6762 ALTER TABLE gives weird results and error message · f65e9210
      unknown authored
        - Better error message when table definition has changed
      
      
      mysql-test/r/ndb_alter_table.result:
        New error message and code when table definition has changed.
      mysql-test/r/ndb_multi.result:
        Safety, drop tables in second server as well
      mysql-test/t/ndb_alter_table.test:
        New error message and code when table definition has changed.
      mysql-test/t/ndb_multi.test:
        Safety, drop tables in second server as well
      sql/ha_ndbcluster.cc:
        When error 284 is returned from NDB a check must be made to see what the error really means.
         - if table does not exists any more, return 709 -> No such table exists
         - if table still exists, table has most likely been altered and table id and version has 
           changed, print  hardcoded  errormessage indicating that transaction should retried
          (this error message should be translated to a langauge dependent error message in 5.0)
          
        Remove mapping from 284 to HA_ERR_NO_SUCH_TABLE
      f65e9210
  4. 07 Mar, 2005 1 commit
  5. 06 Dec, 2004 1 commit
  6. 07 Oct, 2004 1 commit
  7. 01 Oct, 2004 1 commit
  8. 28 Sep, 2004 1 commit
  9. 26 Sep, 2004 1 commit
  10. 24 Sep, 2004 1 commit
    • unknown's avatar
      fix for invalidating table if mismatch with frm · d6c1a39a
      unknown authored
          removed debug printout
          new test in alter table for dictionay update test with multiple connections
          added coice of setting MaxNoOfOrderedIndexes
          added option to run "--small-bench"
      
      
      mysql-test/mysql-test-run.sh:
        added option to run "--small-bench"
      mysql-test/ndb/ndb_config_2_node.ini:
        added coice of setting MaxNoOfOrderedIndexes
      mysql-test/ndb/ndbcluster.sh:
        added coice of setting MaxNoOfOrderedIndexes
      mysql-test/r/ndb_alter_table.result:
        new test in alter table for dictionay update test with multiple connections
      mysql-test/t/ndb_alter_table.test:
        new test in alter table for dictionay update test with multiple connections
      ndb/src/ndbapi/DictCache.cpp:
        removed debug printout
      sql/ha_ndbcluster.cc:
        fix for invalidating table if mismatch with frm
      d6c1a39a
  11. 15 Sep, 2004 1 commit
  12. 14 Sep, 2004 1 commit
    • unknown's avatar
      moved all ndb thread specific data into new placeholder · 2e43e470
      unknown authored
      new methods to keep "records" up to date
      unset flag HA_NOT_EXACT_COUNT to make handler read "records" field, for count() optim and join optimization
      new methods to keep "records" up to datecorrect record field in ndbcluster handler
      new method for ndbcluster handler to store/retrieve table and thread specific data
      changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl
      hanged deleteKey to return ponter to deleted object
      moved heavy global cache fetch from inline to separate method
      
      
      mysql-test/r/ndb_alter_table.result:
        correct record field in ndbcluster handler
      mysql-test/r/ndb_blob.result:
        correct record field in ndbcluster handler
      ndb/include/ndbapi/NdbDictionary.hpp:
        new method for ndbcluster handler to store/retrieve table and thread specific data
      ndb/src/ndbapi/DictCache.cpp:
        changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl
      ndb/src/ndbapi/DictCache.hpp:
        changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl
      ndb/src/ndbapi/Ndb.cpp:
        replaced method DictionaryImpl::getTable with DictionaryImpl::get_local_table_info
      ndb/src/ndbapi/NdbDictionary.cpp:
        new method for ndbcluster handler to store/retrieve table and thread specific data
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl
        moved heavy global cache fetch from inline to separate method
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        replaced method DictionaryImpl::getTable with DictionaryImpl::get_local_table_info
      ndb/src/ndbapi/NdbLinHash.hpp:
        changed deleteKey to return ponter to deleted object
      sql/ha_ndbcluster.cc:
        moved all ndb thread specific data into new placeholder
        new methods to keep "records" up to date
        unset flag HA_NOT_EXACT_COUNT to make handler read "records" field, for count() optim and join optimization
      sql/ha_ndbcluster.h:
        new methods to keep "records" up to date
      sql/sql_class.h:
        moved all ndb thread specific data into new placeholder
      2e43e470
  13. 10 Sep, 2004 1 commit
  14. 07 Sep, 2004 2 commits
  15. 03 Sep, 2004 1 commit
    • unknown's avatar
      renamed ha_recovery_logging to ha_enable_transaction · e8c2e418
      unknown authored
      added tests to alter table for "large" alter tables and truncates in ndbcluster
      added debug printout in restart() in ndbcluster
      added flag THD::transaction.on to enable/disable transaction
      
      
      mysql-test/r/ndb_alter_table.result:
        added tests to alter table for "large" alter tables and truncates
      mysql-test/t/ndb_alter_table.test:
        added tests to alter table for "large" alter tables and truncates
      ndb/src/ndbapi/NdbConnection.cpp:
        added debug printout in restart()
      sql/ha_ndbcluster.cc:
        added support for large alter table and truncate
      sql/handler.cc:
        renamed ha_recovery_logging to ha_enable_transaction
      sql/handler.h:
        renamed ha_recovery_logging to ha_enable_transaction
      sql/sql_class.cc:
        added flag THD::transaction.on to enable/disable transaction
      sql/sql_class.h:
        added flag THD::transaction.on to enable/disable transaction
      sql/sql_delete.cc:
        added disable transaction for mysql_truncate
      sql/sql_table.cc:
        renamed ha_recovery_logging to ha_enable_transaction
      e8c2e418
  16. 02 Sep, 2004 1 commit
  17. 12 Aug, 2004 1 commit
  18. 10 Aug, 2004 1 commit
  19. 31 Jul, 2004 1 commit
  20. 29 Jul, 2004 1 commit
  21. 05 May, 2004 1 commit
    • unknown's avatar
      BUG# 3658 ALTER TABLE corrupts table · 9d99ebe3
      unknown authored
      Added  test file for ALTER TABLE, engine = ndbcluster
      
      
      sql/ha_ndbcluster.cc:
        Add code to retriev all fields if HA_EXTRA_RETRIEVE_ALL_COLS are set.
      sql/ha_ndbcluster.h:
        Add var for retreiving all fields
      sql/sql_table.cc:
        Send HA_EXTRA_RETRIEVE_ALL_COLS to handler in copy_data_between_tables
      9d99ebe3