mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 23:23:04 +01:00
Backported fix for CORE-1371: Execute block fails within execute statement
This commit is contained in:
parent
05421d2579
commit
0c83e2852b
@ -828,7 +828,8 @@ ISC_STATUS callback_execute_immediate( ISC_STATUS* status,
|
||||
{
|
||||
// Other requests appear to be incorrect in this context
|
||||
long requests = (1 << REQ_INSERT) | (1 << REQ_DELETE) | (1 << REQ_UPDATE)
|
||||
| (1 << REQ_DDL) | (1 << REQ_SET_GENERATOR) | (1 << REQ_EXEC_PROCEDURE);
|
||||
| (1 << REQ_DDL) | (1 << REQ_SET_GENERATOR) | (1 << REQ_EXEC_PROCEDURE)
|
||||
| (1 << REQ_EXEC_BLOCK);
|
||||
|
||||
if (check_for_create_database(sql_operator, "createdatabase") ||
|
||||
check_for_create_database(sql_operator, "createschema"))
|
||||
|
Loading…
Reference in New Issue
Block a user