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

Commit332bed8

Browse files
author
Michael Meskes
committed
Sorry, hit the wrong button with my last commit. Here's the correct changelog:
Applied patch send by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to fix bug in connect statement if user name is a variable.Also fixed test case that didn't detect this.
1 parent2f86ab7 commit332bed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/interfaces/ecpg/test/expected/connect-test1.c.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ main(void)
105105

106106
strcpy(pw, "connectpw");
107107
strcpy(db, "tcp:postgresql://localhost:@TEMP_PORT@/connectdb");
108-
{ ECPGconnect(__LINE__, 0, db , "connectuser" ," $1 " , NULL, 0); }
108+
{ ECPGconnect(__LINE__, 0, db , "connectuser" ,pw , NULL, 0); }
109109
#line 52 "test1.pgc"
110110

111111
{ ECPGdisconnect(__LINE__, "CURRENT");}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp