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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy