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

Commit5587f07

Browse files
committed
While porting my TPC-C implementation from Oracle, I discovered the
attached problem with the EXEC SQL COMMIT RELEASE statement.Roland Karch
1 parentb732516 commit5587f07

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
@@ -1,4 +1,4 @@
1-
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.203 2002/11/27 08:30:27 meskes Exp $*/
1+
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.204 2002/12/12 21:50:01 momjian Exp $*/
22

33
/* Copyright comment*/
44
%{
@@ -4703,7 +4703,8 @@ ECPGRelease: TransactionStmt SQL_RELEASE
47034703
fprintf(yyout,"ECPGtrans(__LINE__, %s,\"%s\");",
47044704
connection ? connection :"NULL", $1);
47054705
whenever_action(0);
4706-
fprintf(yyout,"ECPGdisconnect(__LINE__,\"\");");
4706+
fprintf(yyout,"ECPGdisconnect(__LINE__, %s);",
4707+
connection ? connection :"\"CURRENT\"");
47074708
whenever_action(0);
47084709
free($1);
47094710
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp