mirror of https://github.com/postgres/postgres
Un-break code generated by ECPGRelease production.
This commit is contained in:
parent
78114cd4d4
commit
c9d040d85e
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue