Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc9d040d

Browse files
committed
Un-break code generated by ECPGRelease production.
1 parent78114cd commitc9d040d

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)

[8]ページ先頭

©2009-2025 Movatter.jp