diff options
author | Michael Meskes <meskes@postgresql.org> | 2007-03-17 19:25:24 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2007-03-17 19:25:24 +0000 |
commit | d3e131e06269d569917ac2a005bc6b92b581612f (patch) | |
tree | 56afc7a953c2ad68ba36b5022990dc9d0de17105 /src/interfaces/ecpg/test/expected/thread-thread_implicit.c | |
parent | e6e78187ef4011aa3d44280fccc8fbc9baed1dfa (diff) |
- Changed some whitespacing in connect statement.
- Made some chars const as proposed by Stefan Huehner <stefan@huehner.org>.
- Synced parser and keyword lists.
- Copied two token parsing from backend parser to ecpg parser.
- Also added a test case for this.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/thread-thread_implicit.c')
-rw-r--r-- | src/interfaces/ecpg/test/expected/thread-thread_implicit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/test/expected/thread-thread_implicit.c b/src/interfaces/ecpg/test/expected/thread-thread_implicit.c index 9a8bbcc434b..c004a7d1167 100644 --- a/src/interfaces/ecpg/test/expected/thread-thread_implicit.c +++ b/src/interfaces/ecpg/test/expected/thread-thread_implicit.c @@ -63,7 +63,7 @@ int main(int argc, char *argv[]) /* setup test_thread table */ - { ECPGconnect(__LINE__, 0, "regress1" , NULL,NULL , NULL, 0); } + { ECPGconnect(__LINE__, 0, "regress1" , NULL, NULL , NULL, 0); } #line 42 "thread_implicit.pgc" { ECPGdo(__LINE__, 0, 1, NULL, "drop table test_thread ", ECPGt_EOIT, ECPGt_EORT);} @@ -72,7 +72,7 @@ int main(int argc, char *argv[]) { ECPGtrans(__LINE__, NULL, "commit");} #line 44 "thread_implicit.pgc" - { ECPGdo(__LINE__, 0, 1, NULL, "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, "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 49 "thread_implicit.pgc" { ECPGtrans(__LINE__, NULL, "commit");} @@ -102,7 +102,7 @@ int main(int argc, char *argv[]) free(threads); /* and check results */ - { ECPGconnect(__LINE__, 0, "regress1" , NULL,NULL , NULL, 0); } + { ECPGconnect(__LINE__, 0, "regress1" , NULL, NULL , NULL, 0); } #line 73 "thread_implicit.pgc" { ECPGdo(__LINE__, 0, 1, NULL, "select count (*) from test_thread ", ECPGt_EOIT, @@ -145,7 +145,7 @@ void *test_thread(void *arg) /* exec sql whenever sqlerror sqlprint ; */ #line 95 "thread_implicit.pgc" - { ECPGconnect(__LINE__, 0, "regress1" , NULL,NULL , l_connection, 0); + { ECPGconnect(__LINE__, 0, "regress1" , NULL, NULL , l_connection, 0); #line 96 "thread_implicit.pgc" if (sqlca.sqlcode < 0) sqlprint();} |