mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 17:23:04 +01:00
Subtask CORE-2996 - Fix error code incompatibility introduced in fix for CORE-2552
This commit is contained in:
parent
16be018ee7
commit
3cef55490c
@ -1240,9 +1240,9 @@ static void execute_request(thread_db* tdbb,
|
||||
// a non-req_sync error on any of the passes above is an error
|
||||
|
||||
if (!status)
|
||||
ERRD_post(Arg::Gds(isc_sing_select_err));
|
||||
status_exception::raise(Arg::Gds(isc_sing_select_err));
|
||||
else if (status == isc_req_sync && counter == 1)
|
||||
ERRD_post(Arg::Gds(isc_stream_eof));
|
||||
status_exception::raise(Arg::Gds(isc_stream_eof));
|
||||
else if (status != isc_req_sync)
|
||||
status_exception::raise(localStatus);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user