ndb - ndbapi testprogram bugfix

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