• unknown's avatar
    NDB temporary tables. · 6ba27373
    unknown authored
    Temporary tables are not written to disk by DDL operations. This makes
    DDL much faster (useful for tests), but tables are lost after system
    restart.
    
    New commit, since this feature will not be available in 5.1.
    
    
    storage/ndb/include/kernel/signaldata/CreateIndx.hpp:
      Add new error messages for temporary tables.
    storage/ndb/include/kernel/signaldata/CreateTable.hpp:
      Add new error messages for temporary tables.
    storage/ndb/include/kernel/signaldata/DiAddTab.hpp:
      Add parameter for making table temporary.
    storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
      Add parameter for making table temporary.
    storage/ndb/include/kernel/signaldata/ListTables.hpp:
      Add parameter for making table temporary.
    storage/ndb/include/ndb_constants.h:
      Add parameter for making table temporary.
    storage/ndb/include/ndbapi/NdbDictionary.hpp:
      Add parameter for making table temporary.
    storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
      Add parameter for making table temporary.
    storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
      Implement temporary tables.
    storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
      Implement temporary tables.
    storage/ndb/src/kernel/blocks/dbdict/SchemaFile.hpp:
      Implement temporary tables.
    storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
      Implement temporary tables.
    storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
      Implement temporary tables.
    storage/ndb/src/ndbapi/NdbDictionary.cpp:
      Implement temporary tables.
    storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
      Implement temporary tables.
    storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
      Implement temporary tables.
    storage/ndb/src/ndbapi/ndberror.c:
      Add new error messages for temporary tables.
    storage/ndb/tools/listTables.cpp:
      Add display of table and index temporary status.
    6ba27373
CreateIndx.hpp 7.3 KB