• 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
DictCache.cpp 6.51 KB