mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
ndb - hugo
more removal of pNdb->closeTransaction ndb/test/src/HugoTransactions.cpp: more removal of pNdb->closeTransaction
This commit is contained in:
parent
1cd57f72ab
commit
024b25cea3
1 changed files with 3 additions and 3 deletions
|
@ -220,20 +220,20 @@ HugoTransactions::scanReadRecords(Ndb* pNdb,
|
|||
pOp = pTrans->getNdbIndexScanOperation(pIdx->getName(), tab.getName());
|
||||
if (pOp == NULL) {
|
||||
ERR(pTrans->getNdbError());
|
||||
pNdb->closeTransaction(pTrans);
|
||||
closeTransaction(pNdb);
|
||||
return NDBT_FAILED;
|
||||
}
|
||||
|
||||
if( pOp ->readTuples(lm, 0, parallelism, sorted) ) {
|
||||
ERR(pTrans->getNdbError());
|
||||
pNdb->closeTransaction(pTrans);
|
||||
closeTransaction(pNdb);
|
||||
return NDBT_FAILED;
|
||||
}
|
||||
|
||||
check = pOp->interpret_exit_ok();
|
||||
if( check == -1 ) {
|
||||
ERR(pTrans->getNdbError());
|
||||
pNdb->closeTransaction(pTrans);
|
||||
closeTransaction(pNdb);
|
||||
return NDBT_FAILED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue