Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 332bed8

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 parent 2f86ab7 commit 332bed8

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

+1-1
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)