8
0
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:
alexpeshkoff 2007-07-20 09:43:50 +00:00
parent 05421d2579
commit 0c83e2852b

View File

@ -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"))