Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4b8b5e5

Browse files
author
Michael Meskes
committed
In ecpg removed old leftover check for given connection name.
Ever since we introduced real prepared statements this should work for different connections. The old solution just emulating prepared statements, though, wasn't able to handle this. Closes: #6309
1 parent 153c8db commit 4b8b5e5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/interfaces/ecpg/preproc/ecpg.addons

-5
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ ECPG: stmtClosePortalStmt block
1919
}
2020
ECPG: stmtDeallocateStmt block
2121
{
22-
if (connection)
23-
mmerror(PARSE_ERROR, ET_ERROR, "AT option not allowed in DEALLOCATE statement");
24-
2522
output_deallocate_prepare_statement($1);
2623
}
2724
ECPG: stmtDeclareCursorStmt block
@@ -72,8 +69,6 @@ ECPG: stmtViewStmt rule
7269
}
7370
| ECPGDeallocateDescr
7471
{
75-
if (connection)
76-
mmerror(PARSE_ERROR, ET_ERROR, "AT option not allowed in DEALLOCATE statement");
7772
fprintf(yyout,"ECPGdeallocate_desc(__LINE__, %s);",$1);
7873
whenever_action(0);
7974
free($1);

0 commit comments

Comments
 (0)