Commit 146242fc authored by Michael Meskes's avatar Michael Meskes

As usual I forgot some files. :-)

parent 635a0b9a
...@@ -10,6 +10,8 @@ TEMP_PORT = 4$(DEF_PGPORT) ...@@ -10,6 +10,8 @@ TEMP_PORT = 4$(DEF_PGPORT)
test1.pgc: test1.pgc.in test1.pgc: test1.pgc.in
sed -e 's,@TEMP_PORT@,$(TEMP_PORT),g' \ sed -e 's,@TEMP_PORT@,$(TEMP_PORT),g' \
$< >$@ $< >$@
sed -e 's,@TEMP_PORT@,$(TEMP_PORT),g' \
../expected/connect-test1.c.in >../expected/connect-test1.c
TESTS = test1 test1.c \ TESTS = test1 test1.c \
test2 test2.c \ test2 test2.c \
......
...@@ -40,7 +40,7 @@ main(void) ...@@ -40,7 +40,7 @@ main(void)
{ ECPGconnect(__LINE__, 0, "connectdb" , NULL, NULL , "main", 0); } { ECPGconnect(__LINE__, 0, "connectdb" , NULL, NULL , "main", 0); }
#line 22 "test1.pgc" #line 22 "test1.pgc"
{ ECPGdo(__LINE__, 0, 1, NULL, "alter user connectuser encrypted password 'connectpw'", ECPGt_EOIT, ECPGt_EORT);} { ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "alter user connectuser encrypted password 'connectpw'", ECPGt_EOIT, ECPGt_EORT);}
#line 23 "test1.pgc" #line 23 "test1.pgc"
{ ECPGdisconnect(__LINE__, "CURRENT");} { ECPGdisconnect(__LINE__, "CURRENT");}
...@@ -105,7 +105,7 @@ main(void) ...@@ -105,7 +105,7 @@ main(void)
strcpy(pw, "connectpw"); strcpy(pw, "connectpw");
strcpy(db, "tcp:postgresql://localhost:@TEMP_PORT@/connectdb"); strcpy(db, "tcp:postgresql://localhost:@TEMP_PORT@/connectdb");
{ ECPGconnect(__LINE__, 0, db , "connectuser" , pw , NULL, 0); } { ECPGconnect(__LINE__, 0, db , "connectuser" , " $1 " , NULL, 0); }
#line 52 "test1.pgc" #line 52 "test1.pgc"
{ ECPGdisconnect(__LINE__, "CURRENT");} { ECPGdisconnect(__LINE__, "CURRENT");}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment