1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

testScan -n ScanRandomTable

testDict -n FragmentType


ndb/test/ndbapi/testDict.cpp:
  Drop table before trying to create with special fragmentation
ndb/test/ndbapi/testScan.cpp:
  testScan -n ScanRandomTable
ndb/test/src/NDBT_Tables.cpp:
  testScan -n ScanRandomTable
This commit is contained in:
unknown
2004-08-12 08:54:21 +02:00
parent 2ff7f9345d
commit db2db3c088
3 changed files with 3 additions and 1 deletions

View File

@ -537,6 +537,7 @@ int runTestFragmentTypes(NDBT_Context* ctx, NDBT_Step* step){
}
const NdbDictionary::Table* pTab = ctx->getTab();
pNdb->getDictionary()->dropTable(pTab->getName());
NdbDictionary::Table newTab(* pTab);
// Set fragment type for table

View File

@ -65,7 +65,7 @@ int runDropAllTablesExceptTestTable(NDBT_Context* ctx, NDBT_Step* step){
}
int res = GETNDB(step)->getDictionary()->dropTable(tab->getName());
if(res != -1){
if(res == -1){
return NDBT_FAILED;
}
}

View File

@ -803,6 +803,7 @@ int
NDBT_Tables::createAllTables(Ndb* pNdb, bool _temp, bool existsOk){
for (int i=0; i < NDBT_Tables::getNumTables(); i++){
pNdb->getDictionary()->dropTable(NDBT_Tables::getTable(i)->getName());
int ret= createTable(pNdb,
NDBT_Tables::getTable(i)->getName(), _temp, existsOk);
if(ret)