96{
97
98
99#line 9 "code100.pgc"
101
102#line 10 "code100.pgc"
103
104
105
107
108 {
ECPGconnect(__LINE__, 0,
"ecpg1_regression" , NULL, NULL , NULL, 0); }
109#line 15 "code100.pgc"
110
112
114#line 20 "code100.pgc"
115
117 {
ECPGtrans(__LINE__, NULL,
"commit work");}
118#line 22 "code100.pgc"
119
121
123 { {
ECPGdo(__LINE__, 0, 1, NULL, 0,
ECPGst_normal,
"insert into test ( payload , index ) values ( 0 , $1 )",
126#line 28 "code100.pgc"
127
129 }
130 {
ECPGtrans(__LINE__, NULL,
"commit work");}
131#line 31 "code100.pgc"
132
134
136#line 35 "code100.pgc"
137
139
141#line 38 "code100.pgc"
142
144
146#line 41 "code100.pgc"
147
149
151#line 44 "code100.pgc"
152
154 {
ECPGtrans(__LINE__, NULL,
"commit work");}
155#line 46 "code100.pgc"
156
158
160#line 49 "code100.pgc"
161
163 return 0;
164}
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)
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)