Commit ed1a033c authored by unknown's avatar unknown

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...
parent 0887c3bc
......@@ -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;
}
......
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