mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
ndb autotest -
Fix testcase so that it does not leak tables...causing subsequent errors
This commit is contained in:
parent
b95714e138
commit
b030cc5516
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue