Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 146242f

Browse filesBrowse files
author
Michael Meskes
committed
As usual I forgot some files. :-)
1 parent 635a0b9 commit 146242f
Copy full SHA for 146242f

File tree

Expand file treeCollapse file tree

2 files changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-2
lines changed

‎src/interfaces/ecpg/test/connect/Makefile

Copy file name to clipboardExpand all lines: src/interfaces/ecpg/test/connect/Makefile
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ TEMP_PORT = 4$(DEF_PGPORT)
1010
test1.pgc: test1.pgc.in
1111
sed -e 's,@TEMP_PORT@,$(TEMP_PORT),g' \
1212
$< >$@
13+
sed -e 's,@TEMP_PORT@,$(TEMP_PORT),g' \
14+
../expected/connect-test1.c.in >../expected/connect-test1.c
1315

1416
TESTS = test1 test1.c \
1517
test2 test2.c \

‎src/interfaces/ecpg/test/expected/connect-test1.c.in

Copy file name to clipboardExpand all lines: src/interfaces/ecpg/test/expected/connect-test1.c.in
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ main(void)
4040
{ ECPGconnect(__LINE__, 0, "connectdb" , NULL, NULL , "main", 0); }
4141
#line 22 "test1.pgc"
4242

43-
{ ECPGdo(__LINE__, 0, 1, NULL, "alter user connectuser encrypted password 'connectpw'", ECPGt_EOIT, ECPGt_EORT);}
43+
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "alter user connectuser encrypted password 'connectpw'", ECPGt_EOIT, ECPGt_EORT);}
4444
#line 23 "test1.pgc"
4545

4646
{ ECPGdisconnect(__LINE__, "CURRENT");}
@@ -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" , pw , NULL, 0); }
108+
{ ECPGconnect(__LINE__, 0, db , "connectuser" , " $1 " , NULL, 0); }
109109
#line 52 "test1.pgc"
110110

111111
{ ECPGdisconnect(__LINE__, "CURRENT");}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.