Skip to content

Commit c9d040d

Browse files
committed
Un-break code generated by ECPGRelease production.
1 parent 78114cd commit c9d040d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/interfaces/ecpg/preproc/preproc.y

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4992,9 +4992,10 @@ ECPGRelease: TransactionStmt SQL_RELEASE
49924992
if (strncmp($1, "begin", 5) == 0)
49934993
yyerror("RELEASE does not make sense when beginning a transaction");
49944994

4995-
fprintf(yyout, "ECPGtrans(__LINE__, %s, \"%s\");", connection, $1);
4995+
fprintf(yyout, "ECPGtrans(__LINE__, %s, \"%s\");",
4996+
connection ? connection : "NULL", $1);
49964997
whenever_action(0);
4997-
fprintf(yyout, "ECPGdisconnect(\"\");");
4998+
fprintf(yyout, "ECPGdisconnect(__LINE__, \"\");");
49984999
whenever_action(0);
49995000
free($1);
50005001
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy