From 3e78c89ed4e4e7d7e9809fad7f08de425850618c Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 15 Sep 2004 15:57:12 +0200 Subject: [PATCH] drop table after test (if created & success) ndb/test/ndbapi/testLcp.cpp: Remove diskdata stuff --- ndb/test/ndbapi/testLcp.cpp | 4 ---- 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; } }