Commit cb04d581 authored by unknown's avatar unknown
Browse files

ndb - ndbapi testprogram bugfix

  testBackup, fix assertion


ndb/test/ndbapi/testBackup.cpp:
  Fetch table before verifying
parent 40157b14
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -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;
  const NdbDictionary::Table* tab = 
    GETNDB(step)->getDictionary()->getTable(ctx->getTab()->getName());
  if(tab == 0)
    return NDBT_FAILED;
  
  UtilTransactions utilTrans(*ctx->getTab());
  HugoTransactions hugoTrans(*ctx->getTab());
  UtilTransactions utilTrans(* tab);
  HugoTransactions hugoTrans(* tab);

  do{