projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f86ab7
)
Sorry, hit the wrong button with my last commit. Here's the correct changelog:
author
Michael Meskes
Fri, 28 Dec 2007 11:30:54 +0000
(11:30 +0000)
committer
Michael Meskes
Fri, 28 Dec 2007 11:30:54 +0000
(11:30 +0000)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/test/expected/connect-test1.c.in
b/src/interfaces/ecpg/test/expected/connect-test1.c.in
index a05cad92f5a6b8e452f2ce861837baee43e17a92..a6e862e13f2bd8d73c2a235c74c98bb9e9c8aaa8 100644
(file)
--- 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");}