diff options
author | unknown <joreland@mysql.com> | 2004-09-15 15:57:12 +0200 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2004-09-15 15:57:12 +0200 |
commit | 2e60d37de0d299579f88aacad890a57f9057e371 (patch) | |
tree | 60375c5e967a9b6456497e33de3db2b6b11c0180 | |
parent | aee58edd40c47705c53a4dfd896afb831888dd80 (diff) | |
download | mariadb-git-2e60d37de0d299579f88aacad890a57f9057e371.tar.gz |
drop table after test (if created & success)
ndb/test/ndbapi/testLcp.cpp:
Remove diskdata stuff
-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; } } |