Fix for bug#4650 Scan does not report timeout of owning transaction

This commit is contained in:
unknown 2004-07-20 16:31:18 +02:00
parent 49d6b187e4
commit 8e8a93df81

View file

@ -8502,6 +8502,13 @@ void Dbtc::execSCAN_TABREQ(Signal* signal)
if ((transid1 == buddyApiPtr.p->transid[0]) &&
(transid2 == buddyApiPtr.p->transid[1])) {
jam();
if (buddyApiPtr.p->apiConnectstate == CS_ABORTING) {
// transaction has timed out
jam();
errCode = ZTIME_OUT_ERROR;
goto SCAN_TAB_error;
}//if
currSavePointId = buddyApiPtr.p->currSavePointId;
buddyApiPtr.p->currSavePointId++;
}