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.c | |
| parent | e6e78187ef4011aa3d44280fccc8fbc9baed1dfa (diff) | |
| download | postgresql-d3e131e06269d569917ac2a005bc6b92b581612f.tar.gz | |
- 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.c')
| -rw-r--r-- | src/interfaces/ecpg/test/expected/thread-thread.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/test/expected/thread-thread.c b/src/interfaces/ecpg/test/expected/thread-thread.c index 41100f7cc3..ae720f4d6e 100644 --- a/src/interfaces/ecpg/test/expected/thread-thread.c +++ b/src/interfaces/ecpg/test/expected/thread-thread.c @@ -62,7 +62,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 41 "thread.pgc" { ECPGdo(__LINE__, 0, 1, NULL, "drop table test_thread ", ECPGt_EOIT, ECPGt_EORT);} @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) { ECPGtrans(__LINE__, NULL, "commit");} #line 43 "thread.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 48 "thread.pgc" { ECPGtrans(__LINE__, NULL, "commit");} @@ -101,7 +101,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 72 "thread.pgc" { ECPGdo(__LINE__, 0, 1, NULL, "select count (*) from test_thread ", ECPGt_EOIT, @@ -144,7 +144,7 @@ void *test_thread(void *arg) /* exec sql whenever sqlerror sqlprint ; */ #line 94 "thread.pgc" - { ECPGconnect(__LINE__, 0, "regress1" , NULL,NULL , l_connection, 0); + { ECPGconnect(__LINE__, 0, "regress1" , NULL, NULL , l_connection, 0); #line 95 "thread.pgc" if (sqlca.sqlcode < 0) sqlprint();} |
