1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-26 01:44:06 +03:00

ndb autotest -

Fix testcase so that it does not leak tables...causing subsequent errors


storage/ndb/test/ndbapi/testDict.cpp:
  Fix testcase so that it does not leak tables...
This commit is contained in:
unknown
2007-02-16 01:36:22 +01:00
parent 0887c3bc38
commit ed1a033c63

View File

@@ -321,7 +321,11 @@ int runCreateAndDropAtRandom(NDBT_Context* ctx, NDBT_Step* step)
}
i++;
}
for (Uint32 i = 0; i<numTables; i++)
if (tabList[i])
pDic->dropTable(NDBT_Tables::getTable(i)->getName());
delete [] tabList;
return result;
}