Skip to content

Commit

Permalink
Backported fix for CORE-1371: Execute block fails within execute stat…
Browse files Browse the repository at this point in the history
…ement
  • Loading branch information
AlexPeshkoff committed Jul 20, 2007
1 parent 05421d2 commit 0c83e28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dsql/dsql.cpp
Expand Up @@ -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"))
Expand Down

0 comments on commit 0c83e28

Please sign in to comment.