From ed1a033c63d1cc653c02f41e41f6836dde6a06b9 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 16 Feb 2007 01:36:22 +0100 Subject: [PATCH] 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... --- storage/ndb/test/ndbapi/testDict.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/storage/ndb/test/ndbapi/testDict.cpp b/storage/ndb/test/ndbapi/testDict.cpp index f7de43aea20..f72b9dee80b 100644 --- a/storage/ndb/test/ndbapi/testDict.cpp +++ b/storage/ndb/test/ndbapi/testDict.cpp @@ -321,7 +321,11 @@ int runCreateAndDropAtRandom(NDBT_Context* ctx, NDBT_Step* step) } i++; } - + + for (Uint32 i = 0; idropTable(NDBT_Tables::getTable(i)->getName()); + delete [] tabList; return result; }