Commit 1a3eae9e authored by unknown's avatar unknown

ndb - autotest fixes


ndb/test/src/HugoTransactions.cpp:
  Fix indexRead (range)
parent 32ec0162
......@@ -1097,7 +1097,7 @@ HugoTransactions::pkReadRecords(Ndb* pNdb,
pNdb->closeTransaction(pTrans);
return NDBT_FAILED;
}
} else{
} else {
if(pIndexScanOp)
{
int rows_found = 0;
......@@ -1759,7 +1759,7 @@ HugoTransactions::indexReadRecords(Ndb* pNdb,
pNdb->closeTransaction(pTrans);
return NDBT_FAILED;
}
check = 0;
check = sOp->readTuples();
}
if( check == -1 ) {
......@@ -1948,7 +1948,7 @@ HugoTransactions::indexUpdateRecords(Ndb* pNdb,
}
if(ordered && check != 0){
g_err << "Row: " << r << " not found!!" << endl;
g_err << check << " - Row: " << r << " not found!!" << endl;
pNdb->closeTransaction(pTrans);
return NDBT_FAILED;
}
......
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