7#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
9#line 1 "thread_implicit.pgc"
16#include "ecpg_config.h"
33#line 16 "thread_implicit.pgc"
52#line 32 "thread_implicit.pgc"
55#line 33 "thread_implicit.pgc"
64#line 40 "thread_implicit.pgc"
67#line 41 "thread_implicit.pgc"
70#line 42 "thread_implicit.pgc"
72 {
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);}
73#line 47 "thread_implicit.pgc"
76#line 48 "thread_implicit.pgc"
79#line 49 "thread_implicit.pgc"
111#line 79 "thread_implicit.pgc"
116#line 80 "thread_implicit.pgc"
119#line 81 "thread_implicit.pgc"
122#line 82 "thread_implicit.pgc"
140#line 96 "thread_implicit.pgc"
143#line 97 "thread_implicit.pgc"
146#line 98 "thread_implicit.pgc"
156#line 106 "thread_implicit.pgc"
159#line 107 "thread_implicit.pgc"
162#line 107 "thread_implicit.pgc"
164 if(
sqlca.sqlcode != 0 )
170#line 113 "thread_implicit.pgc"
173#line 113 "thread_implicit.pgc"
184#line 118 "thread_implicit.pgc"
187#line 118 "thread_implicit.pgc"
189 if(
sqlca.sqlcode != 0 )
195#line 124 "thread_implicit.pgc"
198#line 124 "thread_implicit.pgc"
201#line 125 "thread_implicit.pgc"
204#line 125 "thread_implicit.pgc"
bool ECPGdisconnect(int lineno, const char *connection_name)
bool ECPGconnect(int lineno, int c, const char *name, const char *user, const char *passwd, const char *connection_name, int autocommit)
#define fprintf(file, fmt, msg)
bool ECPGdo(const int lineno, const int compat, const int force_indicator, const char *connection_name, const bool questionmarks, const int st, const char *query,...)
bool ECPGtrans(int lineno, const char *connection_name, const char *transaction)
void * test_thread(void *arg)