Commit 27a4e6e2 authored by joreland@mysql.com's avatar joreland@mysql.com

drop table after test (if created & success)

parent 8870f53e
...@@ -182,10 +182,6 @@ static int drop_all_tables() ...@@ -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, ...@@ -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;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment