Skip to content
Snippets Groups Projects
Commit c9d040d8 authored by Tom Lane's avatar Tom Lane
Browse files

Un-break code generated by ECPGRelease production.

parent 78114cd4
No related branches found
No related tags found
No related merge requests found
......@@ -4992,9 +4992,10 @@ ECPGRelease: TransactionStmt SQL_RELEASE
if (strncmp($1, "begin", 5) == 0)
yyerror("RELEASE does not make sense when beginning a transaction");
fprintf(yyout, "ECPGtrans(__LINE__, %s, \"%s\");", connection, $1);
fprintf(yyout, "ECPGtrans(__LINE__, %s, \"%s\");",
connection ? connection : "NULL", $1);
whenever_action(0);
fprintf(yyout, "ECPGdisconnect(\"\");");
fprintf(yyout, "ECPGdisconnect(__LINE__, \"\");");
whenever_action(0);
free($1);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment