diff options
| author | Michael Meskes <meskes@postgresql.org> | 2008-11-11 11:41:24 +0000 |
|---|---|---|
| committer | Michael Meskes <meskes@postgresql.org> | 2008-11-11 11:41:24 +0000 |
| commit | c7f5c7c128c4a17aa0fb8b787b20a21b180c8c1d (patch) | |
| tree | a2cf2be88c468be3271738af0f7243729e823249 /src/interfaces/ecpg/test/expected/thread-thread_implicit.c | |
| parent | 3be2448525e9b66205bfcb0ebfeca54137a0cada (diff) | |
Replaced manually synced preproc.y by the one created by the new script.
Adapted regression test files accordingly.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/thread-thread_implicit.c')
| -rw-r--r-- | src/interfaces/ecpg/test/expected/thread-thread_implicit.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/interfaces/ecpg/test/expected/thread-thread_implicit.c b/src/interfaces/ecpg/test/expected/thread-thread_implicit.c index fa63a449315..f101d696246 100644 --- a/src/interfaces/ecpg/test/expected/thread-thread_implicit.c +++ b/src/interfaces/ecpg/test/expected/thread-thread_implicit.c @@ -73,13 +73,13 @@ int main(int argc, char *argv[]) { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "drop table test_thread ", ECPGt_EOIT, ECPGt_EORT);} #line 48 "thread_implicit.pgc" /* DROP might fail */ - { ECPGtrans(__LINE__, NULL, "commit");} + { ECPGtrans(__LINE__, NULL, "commit ");} #line 49 "thread_implicit.pgc" - { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "create table test_thread ( tstamp timestamp not null default cast( timeofday () as timestamp ) , thread text not null , iteration integer not null , primary key( thread , iteration ) ) ", ECPGt_EOIT, ECPGt_EORT);} + { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "create table test_thread ( tstamp timestamp not null default cast ( timeofday ( ) as timestamp ) , thread text not null , iteration integer not null , primary key ( thread , iteration ) ) ", ECPGt_EOIT, ECPGt_EORT);} #line 54 "thread_implicit.pgc" - { ECPGtrans(__LINE__, NULL, "commit");} + { ECPGtrans(__LINE__, NULL, "commit ");} #line 55 "thread_implicit.pgc" { ECPGdisconnect(__LINE__, "CURRENT");} @@ -117,12 +117,12 @@ int main(int argc, char *argv[]) { ECPGconnect(__LINE__, 0, "regress1" , NULL, NULL , NULL, 0); } #line 86 "thread_implicit.pgc" - { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "select count (*) from test_thread ", ECPGt_EOIT, + { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "select count ( * ) from test_thread ", ECPGt_EOIT, ECPGt_int,&(l_rows),(long)1,(long)1,sizeof(int), ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EORT);} #line 87 "thread_implicit.pgc" - { ECPGtrans(__LINE__, NULL, "commit");} + { ECPGtrans(__LINE__, NULL, "commit ");} #line 88 "thread_implicit.pgc" { ECPGdisconnect(__LINE__, "CURRENT");} @@ -147,7 +147,7 @@ void *test_thread(void *arg) int l_i ; #line 103 "thread_implicit.pgc" - char l_connection [ 128 ] ; + char l_connection [ 128 ] ; /* exec sql end declare section */ #line 104 "thread_implicit.pgc" @@ -172,7 +172,7 @@ if (sqlca.sqlcode < 0) sqlprint();} printf("%s: ERROR: cannot connect to database!\n", l_connection); return( NULL ); } - { ECPGtrans(__LINE__, NULL, "begin transaction "); + { ECPGtrans(__LINE__, NULL, "begin "); #line 119 "thread_implicit.pgc" if (sqlca.sqlcode < 0) sqlprint();} @@ -197,7 +197,7 @@ if (sqlca.sqlcode < 0) sqlprint();} } /* all done */ - { ECPGtrans(__LINE__, NULL, "commit"); + { ECPGtrans(__LINE__, NULL, "commit "); #line 130 "thread_implicit.pgc" if (sqlca.sqlcode < 0) sqlprint();} |
