25 {
26
27
28
29
30#line 9 "quote.pgc"
31 char var [ 25 ] ;
32
33#line 10 "quote.pgc"
35
36#line 11 "quote.pgc"
37
38
40 {
ECPGconnect(__LINE__, 0,
"ecpg1_regression" , NULL, NULL , NULL, 0); }
41#line 14 "quote.pgc"
42
43
45#line 16 "quote.pgc"
46
47
48#line 17 "quote.pgc"
49
50
51#line 18 "quote.pgc"
52
53
55#line 20 "quote.pgc"
56
58#line 20 "quote.pgc"
59
61#line 20 "quote.pgc"
62
63
65#line 22 "quote.pgc"
66
68#line 22 "quote.pgc"
69
71#line 22 "quote.pgc"
72
73
75 ECPGt_char,(var),(
long)25,(
long)1,(25)*
sizeof(
char),
77#line 24 "quote.pgc"
78
80#line 24 "quote.pgc"
81
83#line 24 "quote.pgc"
84
85 printf(
"Standard conforming strings: %s\n", var);
86
87
89#line 28 "quote.pgc"
90
92#line 28 "quote.pgc"
93
95#line 28 "quote.pgc"
96
97
99#line 30 "quote.pgc"
100
102#line 30 "quote.pgc"
103
105#line 30 "quote.pgc"
106
107
109#line 32 "quote.pgc"
110
112#line 32 "quote.pgc"
113
115#line 32 "quote.pgc"
116
117
119 ECPGt_char,(var),(
long)25,(
long)1,(25)*
sizeof(
char),
121#line 34 "quote.pgc"
122
124#line 34 "quote.pgc"
125
127#line 34 "quote.pgc"
128
129 printf(
"Standard conforming strings: %s\n", var);
130
131
133#line 38 "quote.pgc"
134
136#line 38 "quote.pgc"
137
139#line 38 "quote.pgc"
140
141
143#line 40 "quote.pgc"
144
146#line 40 "quote.pgc"
147
149#line 40 "quote.pgc"
150
151
153#line 42 "quote.pgc"
154
156#line 42 "quote.pgc"
157
159#line 42 "quote.pgc"
160
161
162#line 43 "quote.pgc"
163
164
166#line 45 "quote.pgc"
167
169#line 45 "quote.pgc"
170
172#line 45 "quote.pgc"
173
174
175
176#line 47 "quote.pgc"
177
178
179 for (loopcount = 0; loopcount < 100; loopcount++)
180 {
184 ECPGt_char,(var),(
long)25,(
long)1,(25)*
sizeof(
char),
186#line 51 "quote.pgc"
187
189#line 51 "quote.pgc"
190
192#line 51 "quote.pgc"
193
195#line 51 "quote.pgc"
196
197 printf(
"value: %d %s\n",
i, var);
198 }
199
201#line 55 "quote.pgc"
202
204#line 55 "quote.pgc"
205
207#line 55 "quote.pgc"
208
210#line 56 "quote.pgc"
211
213#line 56 "quote.pgc"
214
216#line 56 "quote.pgc"
217
218
220#line 58 "quote.pgc"
221
223#line 58 "quote.pgc"
224
226#line 58 "quote.pgc"
227
228
229 return 0;
230}
bool ECPGsetcommit(int lineno, const char *mode, const char *connection_name)
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)