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

ndb - ndbapi testprogram bugfix

testBackup, fix assertion


ndb/test/ndbapi/testBackup.cpp:
  Fetch table before verifying
This commit is contained in:
unknown
2005-10-17 08:29:58 +02:00
parent 40157b14e0
commit cb04d58150

View File

@ -229,10 +229,13 @@ int runVerifyOne(NDBT_Context* ctx, NDBT_Step* step){
int result = NDBT_OK;
int count = 0;
ndbout << *(const NDBT_Table*)ctx->getTab() << endl;
UtilTransactions utilTrans(*ctx->getTab());
HugoTransactions hugoTrans(*ctx->getTab());
const NdbDictionary::Table* tab =
GETNDB(step)->getDictionary()->getTable(ctx->getTab()->getName());
if(tab == 0)
return NDBT_FAILED;
UtilTransactions utilTrans(* tab);
HugoTransactions hugoTrans(* tab);
do{