8
0
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:
asfernandes 2010-05-07 15:24:53 +00:00
parent 16be018ee7
commit 3cef55490c

View File

@ -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);
}