Commit 4d0c67c6 authored by unknown's avatar unknown

testDict.cpp:

  Updated DropDDObjects in testDict to ignore the user tables created in the MySQL database


storage/ndb/test/ndbapi/testDict.cpp:
  Updated DropDDObjects in testDict to ignore the user tables created in the MySQL database
parent 7d26353f
...@@ -2776,9 +2776,13 @@ runDropDDObjects(NDBT_Context* ctx, NDBT_Step* step){ ...@@ -2776,9 +2776,13 @@ runDropDDObjects(NDBT_Context* ctx, NDBT_Step* step){
case NdbDictionary::Object::UserTable: case NdbDictionary::Object::UserTable:
tableFound = list.elements[i].name; tableFound = list.elements[i].name;
if(tableFound != 0){ if(tableFound != 0){
if(pDict->dropTable(tableFound) != 0){ if(strcmp(tableFound, "ndb_apply_status") != 0 &&
g_err << "Failed to drop table: " << pDict->getNdbError() << endl; strcmp(tableFound, "NDB$BLOB_2_3") != 0 &&
return NDBT_FAILED; strcmp(tableFound, "ndb_schema") != 0){
if(pDict->dropTable(tableFound) != 0){
g_err << "Failed to drop table: " << tableFound << pDict->getNdbError() << endl;
return NDBT_FAILED;
}
} }
} }
tableFound = 0; tableFound = 0;
......
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