mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
drop table after test (if created & success)
ndb/test/ndbapi/testLcp.cpp: Remove diskdata stuff
This commit is contained in:
@ -182,10 +182,6 @@ static int drop_all_tables()
|
|||||||
case NdbDictionary::Object::IndexTrigger:
|
case NdbDictionary::Object::IndexTrigger:
|
||||||
case NdbDictionary::Object::SubscriptionTrigger:
|
case NdbDictionary::Object::SubscriptionTrigger:
|
||||||
case NdbDictionary::Object::ReadOnlyConstraint:
|
case NdbDictionary::Object::ReadOnlyConstraint:
|
||||||
case NdbDictionary::Object::Tablespace:
|
|
||||||
case NdbDictionary::Object::LogfileGroup:
|
|
||||||
case NdbDictionary::Object::Datafile:
|
|
||||||
case NdbDictionary::Object::Undofile:
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -859,6 +859,11 @@ void NDBT_TestSuite::execute(Ndb* ndb, const NdbDictionary::Table* pTab,
|
|||||||
else
|
else
|
||||||
numTestsOk++;
|
numTestsOk++;
|
||||||
numTestsExecuted++;
|
numTestsExecuted++;
|
||||||
|
|
||||||
|
if (result == NDBT_OK && createTable == true){
|
||||||
|
pDict->dropTable(pTab->getName());
|
||||||
|
}
|
||||||
|
|
||||||
delete ctx;
|
delete ctx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user