diff options
-rw-r--r-- | ndb/test/ndbapi/testLcp.cpp | 4 | ||||
-rw-r--r-- | ndb/test/src/NDBT_Test.cpp | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/ndb/test/ndbapi/testLcp.cpp b/ndb/test/ndbapi/testLcp.cpp index 493123ffa4a..c92be091a97 100644 --- a/ndb/test/ndbapi/testLcp.cpp +++ b/ndb/test/ndbapi/testLcp.cpp @@ -182,10 +182,6 @@ static int drop_all_tables() case NdbDictionary::Object::IndexTrigger: case NdbDictionary::Object::SubscriptionTrigger: case NdbDictionary::Object::ReadOnlyConstraint: - case NdbDictionary::Object::Tablespace: - case NdbDictionary::Object::LogfileGroup: - case NdbDictionary::Object::Datafile: - case NdbDictionary::Object::Undofile: default: break; } diff --git a/ndb/test/src/NDBT_Test.cpp b/ndb/test/src/NDBT_Test.cpp index 7ccc9e5588f..ba316bac01b 100644 --- a/ndb/test/src/NDBT_Test.cpp +++ b/ndb/test/src/NDBT_Test.cpp @@ -859,6 +859,11 @@ void NDBT_TestSuite::execute(Ndb* ndb, const NdbDictionary::Table* pTab, else numTestsOk++; numTestsExecuted++; + + if (result == NDBT_OK && createTable == true){ + pDict->dropTable(pTab->getName()); + } + delete ctx; } } |