diff options
author | mskold@mysql.com <> | 2004-12-07 10:27:22 +0100 |
---|---|---|
committer | mskold@mysql.com <> | 2004-12-07 10:27:22 +0100 |
commit | 885a9d6ef55f1a9eaee9741a10d6d66516085a91 (patch) | |
tree | 6fd75132a919397db6e4a3d65ebad65672205276 /ndb/test | |
parent | 36a16ffb0ae768aab0f54adc19850790e053e6c1 (diff) | |
download | mariadb-git-885a9d6ef55f1a9eaee9741a10d6d66516085a91.tar.gz |
Removed getTableForAlteration
Diffstat (limited to 'ndb/test')
-rw-r--r-- | ndb/test/ndbapi/testDict.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ndb/test/ndbapi/testDict.cpp b/ndb/test/ndbapi/testDict.cpp index 0a43bb02fff..5f88342705a 100644 --- a/ndb/test/ndbapi/testDict.cpp +++ b/ndb/test/ndbapi/testDict.cpp @@ -1211,7 +1211,7 @@ runTableRename(NDBT_Context* ctx, NDBT_Step* step){ const NdbDictionary::Table * oldTable = dict->getTable(pTabName.c_str()); if (oldTable) { - NdbDictionary::Table newTable = dict->getTableForAlteration(pTabName.c_str()); + NdbDictionary::Table newTable = *oldTable; newTable.setName(pTabNewName.c_str()); CHECK2(dict->alterTable(newTable) == 0, "TableRename failed"); @@ -1280,7 +1280,7 @@ runTableRenameNF(NDBT_Context* ctx, NDBT_Step* step){ const NdbDictionary::Table * oldTable = dict->getTable(pTabName.c_str()); if (oldTable) { - NdbDictionary::Table newTable = dict->getTableForAlteration(pTabName.c_str()); + NdbDictionary::Table newTable = *oldTable; newTable.setName(pTabNewName.c_str()); CHECK2(dict->alterTable(newTable) == 0, "TableRename failed"); @@ -1377,7 +1377,7 @@ runTableRenameSR(NDBT_Context* ctx, NDBT_Step* step){ const NdbDictionary::Table * oldTable = dict->getTable(pTabName.c_str()); if (oldTable) { - NdbDictionary::Table newTable = dict->getTableForAlteration(pTabName.c_str()); + NdbDictionary::Table newTable = *oldTable; newTable.setName(pTabNewName.c_str()); CHECK2(dict->alterTable(newTable) == 0, "TableRename failed"); |