mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Fixed bug CORE-3680 : EXECUTE BLOCK statement and ISC_DSQL_EXECUTE2() problem
This commit is contained in:
parent
8be35cdc53
commit
58ec672c79
@ -261,7 +261,7 @@ void DSQL_execute(thread_db* tdbb,
|
||||
}
|
||||
|
||||
// A select with a non zero output length is a singleton select
|
||||
const bool singleton = (request->req_type == REQ_SELECT && out_msg_length != 0);
|
||||
const bool singleton = (reqTypeWithCursor(request->req_type) && out_msg_length != 0);
|
||||
|
||||
if (request->req_type != REQ_EMBED_SELECT)
|
||||
{
|
||||
@ -1136,7 +1136,7 @@ static void execute_immediate(thread_db* tdbb,
|
||||
Jrd::ContextPoolHolder context(tdbb, &request->req_pool);
|
||||
|
||||
// A select with a non zero output length is a singleton select
|
||||
const bool singleton = (request->req_type == REQ_SELECT && out_msg_length != 0);
|
||||
const bool singleton = (reqTypeWithCursor(request->req_type) && out_msg_length != 0);
|
||||
|
||||
execute_request(tdbb, request, tra_handle,
|
||||
in_blr_length, in_blr, in_msg_length, in_msg,
|
||||
|
Loading…
Reference in New Issue
Block a user