mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
bug fixes
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: rollback sets exec_flag ndb/test/ndbapi/testScan.cpp: none relavant test cases
This commit is contained in:
@ -776,32 +776,7 @@ int runOnlyOpenScanOnce(NDBT_Context* ctx, NDBT_Step* step){
|
||||
}
|
||||
|
||||
int runOnlyOneOpInScanTrans(NDBT_Context* ctx, NDBT_Step* step){
|
||||
const NdbDictionary::Table* pTab = ctx->getTab();
|
||||
int records = ctx->getNumRecords();
|
||||
int numFailed = 0;
|
||||
|
||||
ScanFunctions scanF(*pTab);
|
||||
if (scanF.scanReadFunctions(GETNDB(step),
|
||||
records,
|
||||
6,
|
||||
ScanFunctions::OnlyOneOpInScanTrans,
|
||||
false) == 0){
|
||||
numFailed++;
|
||||
}
|
||||
if (scanF.scanReadFunctions(GETNDB(step),
|
||||
records,
|
||||
6,
|
||||
ScanFunctions::OnlyOneOpInScanTrans,
|
||||
true) == 0){
|
||||
numFailed++;
|
||||
}
|
||||
|
||||
|
||||
if(numFailed > 0)
|
||||
return NDBT_FAILED;
|
||||
else
|
||||
return NDBT_OK;
|
||||
|
||||
return NDBT_OK;
|
||||
}
|
||||
|
||||
int runExecuteScanWithoutOpenScan(NDBT_Context* ctx, NDBT_Step* step){
|
||||
|
Reference in New Issue
Block a user