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:
@@ -322,6 +322,10 @@ 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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user