diff options
author | unknown <knielsen@ymer.(none)> | 2006-09-07 15:09:34 +0200 |
---|---|---|
committer | unknown <knielsen@ymer.(none)> | 2006-09-07 15:09:34 +0200 |
commit | 6ba273731dacae9ee8f024711208b87e30cc575b (patch) | |
tree | d3fbe03da452fbd801b5798cf4d38d7a6832e033 /storage/ndb/src/common/debugger/signaldata | |
parent | 15ede69561fb15d2090de4104cf2e5c252d9aec5 (diff) | |
download | mariadb-git-6ba273731dacae9ee8f024711208b87e30cc575b.tar.gz |
NDB temporary tables.
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.
Diffstat (limited to 'storage/ndb/src/common/debugger/signaldata')
-rw-r--r-- | storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp b/storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp index 2ed97892488..62f372025ff 100644 --- a/storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp +++ b/storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp @@ -26,6 +26,7 @@ DictTabInfo::TableMapping[] = { DTIMAPS(Table, PrimaryTable, PrimaryTable, 0, MAX_TAB_NAME_SIZE), DTIMAP(Table, PrimaryTableId, PrimaryTableId), DTIMAP2(Table, TableLoggedFlag, TableLoggedFlag, 0, 1), + DTIMAP2(Table, TableTemporaryFlag, TableTemporaryFlag, 0, 1), DTIMAP2(Table, TableKValue, TableKValue, 6, 6), DTIMAP2(Table, MinLoadFactor, MinLoadFactor, 0, 90), DTIMAP2(Table, MaxLoadFactor, MaxLoadFactor, 25, 110), @@ -122,6 +123,7 @@ DictTabInfo::Table::init(){ memset(PrimaryTable, 0, sizeof(PrimaryTable));//PrimaryTable[0] = 0; // Only used when "index" PrimaryTableId = RNIL; TableLoggedFlag = 1; + TableTemporaryFlag = 0; NoOfKeyAttr = 0; NoOfAttributes = 0; NoOfNullable = 0; |