From 146242fc9cb1394460a3674e7df09fc195fbd0bb Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Tue, 14 Aug 2007 10:19:14 +0000 Subject: [PATCH] As usual I forgot some files. :-) --- src/interfaces/ecpg/test/connect/Makefile | 2 ++ src/interfaces/ecpg/test/expected/connect-test1.c.in | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/interfaces/ecpg/test/connect/Makefile b/src/interfaces/ecpg/test/connect/Makefile index 1e2d9f2e3e..1ca1cddadf 100644 --- a/src/interfaces/ecpg/test/connect/Makefile +++ b/src/interfaces/ecpg/test/connect/Makefile @@ -10,6 +10,8 @@ TEMP_PORT = 4$(DEF_PGPORT) test1.pgc: test1.pgc.in 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 \ test2 test2.c \ diff --git a/src/interfaces/ecpg/test/expected/connect-test1.c.in b/src/interfaces/ecpg/test/expected/connect-test1.c.in index 3bad2edfd4..0c7bacd5db 100644 --- a/src/interfaces/ecpg/test/expected/connect-test1.c.in +++ b/src/interfaces/ecpg/test/expected/connect-test1.c.in @@ -40,7 +40,7 @@ main(void) { ECPGconnect(__LINE__, 0, "connectdb" , NULL, NULL , "main", 0); } #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" { ECPGdisconnect(__LINE__, "CURRENT");} @@ -105,7 +105,7 @@ main(void) strcpy(pw, "connectpw"); 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" { ECPGdisconnect(__LINE__, "CURRENT");} -- 2.40.0