diff options
-rw-r--r-- | src/interfaces/ecpg/preproc/ecpg.addons | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/interfaces/ecpg/preproc/ecpg.addons b/src/interfaces/ecpg/preproc/ecpg.addons index 23421df56d7..849a37cf9d5 100644 --- a/src/interfaces/ecpg/preproc/ecpg.addons +++ b/src/interfaces/ecpg/preproc/ecpg.addons @@ -19,9 +19,6 @@ ECPG: stmtClosePortalStmt block } ECPG: stmtDeallocateStmt block { - if (connection) - mmerror(PARSE_ERROR, ET_ERROR, "AT option not allowed in DEALLOCATE statement"); - output_deallocate_prepare_statement($1); } ECPG: stmtDeclareCursorStmt block @@ -72,8 +69,6 @@ ECPG: stmtViewStmt rule } | ECPGDeallocateDescr { - if (connection) - mmerror(PARSE_ERROR, ET_ERROR, "AT option not allowed in DEALLOCATE statement"); fprintf(yyout,"ECPGdeallocate_desc(__LINE__, %s);",$1); whenever_action(0); free($1); |