7#define ECPGdebug(X,Y) ECPGdebug((X)+100,(Y))
16#include "ecpg_config.h"
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);}
156#line 106 "thread.pgc"
159#line 107 "thread.pgc"
162#line 107 "thread.pgc"
164 if(
sqlca.sqlcode != 0 )
170#line 113 "thread.pgc"
173#line 113 "thread.pgc"
184#line 118 "thread.pgc"
187#line 118 "thread.pgc"
189 if(
sqlca.sqlcode != 0 )
195#line 124 "thread.pgc"
198#line 124 "thread.pgc"
201#line 125 "thread.pgc"
204#line 125 "thread.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)