From 332bed8c6b40fada4057c821d10d3c2efbc60807 Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Fri, 28 Dec 2007 11:30:54 +0000 Subject: [PATCH] Sorry, hit the wrong button with my last commit. Here's the correct changelog: Applied patch send by ITAGAKI Takahiro to fix bug in connect statement if user name is a variable. Also fixed test case that didn't detect this. --- src/interfaces/ecpg/test/expected/connect-test1.c.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/ecpg/test/expected/connect-test1.c.in b/src/interfaces/ecpg/test/expected/connect-test1.c.in index a05cad92f5..a6e862e13f 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");} -- 2.11.0