Commit 65693931 authored by joreland@mysql.com's avatar joreland@mysql.com

testScan -n ScanRandomTable

testDict -n FragmentType
parent 849d42af
...@@ -537,6 +537,7 @@ int runTestFragmentTypes(NDBT_Context* ctx, NDBT_Step* step){ ...@@ -537,6 +537,7 @@ int runTestFragmentTypes(NDBT_Context* ctx, NDBT_Step* step){
} }
const NdbDictionary::Table* pTab = ctx->getTab(); const NdbDictionary::Table* pTab = ctx->getTab();
pNdb->getDictionary()->dropTable(pTab->getName());
NdbDictionary::Table newTab(* pTab); NdbDictionary::Table newTab(* pTab);
// Set fragment type for table // Set fragment type for table
......
...@@ -65,7 +65,7 @@ int runDropAllTablesExceptTestTable(NDBT_Context* ctx, NDBT_Step* step){ ...@@ -65,7 +65,7 @@ int runDropAllTablesExceptTestTable(NDBT_Context* ctx, NDBT_Step* step){
} }
int res = GETNDB(step)->getDictionary()->dropTable(tab->getName()); int res = GETNDB(step)->getDictionary()->dropTable(tab->getName());
if(res != -1){ if(res == -1){
return NDBT_FAILED; return NDBT_FAILED;
} }
} }
......
...@@ -803,6 +803,7 @@ int ...@@ -803,6 +803,7 @@ int
NDBT_Tables::createAllTables(Ndb* pNdb, bool _temp, bool existsOk){ NDBT_Tables::createAllTables(Ndb* pNdb, bool _temp, bool existsOk){
for (int i=0; i < NDBT_Tables::getNumTables(); i++){ for (int i=0; i < NDBT_Tables::getNumTables(); i++){
pNdb->getDictionary()->dropTable(NDBT_Tables::getTable(i)->getName());
int ret= createTable(pNdb, int ret= createTable(pNdb,
NDBT_Tables::getTable(i)->getName(), _temp, existsOk); NDBT_Tables::getTable(i)->getName(), _temp, existsOk);
if(ret) if(ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment