aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2007-12-28 11:30:54 +0000
committerMichael Meskes <meskes@postgresql.org>2007-12-28 11:30:54 +0000
commit332bed8c6b40fada4057c821d10d3c2efbc60807 (patch)
treea813122a8067c40719a71b4a32e4f269be9cc00e /src
parent2f86ab7733992bc49fd5f65f77ec1aca472621b2 (diff)
downloadpostgresql-332bed8c6b40fada4057c821d10d3c2efbc60807.tar.gz
postgresql-332bed8c6b40fada4057c821d10d3c2efbc60807.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/test/expected/connect-test1.c.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/expected/connect-test1.c.in b/src/interfaces/ecpg/test/expected/connect-test1.c.in
index a05cad92f5a..a6e862e13f2 100644
--- a/src/interfaces/ecpg/test/expected/connect-test1.c.in
+++ b/src/interfaces/ecpg/test/expected/connect-test1.c.in
@@ -105,7 +105,7 @@ main(void)
strcpy(pw, "connectpw");
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"
{ ECPGdisconnect(__LINE__, "CURRENT");}