Commit 332bed8c authored by Michael Meskes's avatar Michael Meskes

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.
parent 2f86ab77
...@@ -105,7 +105,7 @@ main(void) ...@@ -105,7 +105,7 @@ main(void)
strcpy(pw, "connectpw"); strcpy(pw, "connectpw");
strcpy(db, "tcp:postgresql://localhost:@TEMP_PORT@/connectdb"); strcpy(db, "tcp:postgresql://localhost:@TEMP_PORT@/connectdb");
{ ECPGconnect(__LINE__, 0, db , "connectuser" , " $1 " , NULL, 0); } { ECPGconnect(__LINE__, 0, db , "connectuser" , pw , NULL, 0); }
#line 52 "test1.pgc" #line 52 "test1.pgc"
{ ECPGdisconnect(__LINE__, "CURRENT");} { ECPGdisconnect(__LINE__, "CURRENT");}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment