Skip to content

Commit a0c366d

Browse files
author
Michael Meskes
committed
Sorry guys, I committed the file from my development snapshot instead the one from HEAD. Fixing it now.
1 parent eff6773 commit a0c366d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/interfaces/ecpg/test/expected/preproc-variable.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -128,47 +128,47 @@ if (sqlca.sqlcode < 0) exit (1);}
128128

129129

130130
strcpy(msg, "set");
131-
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "set datestyle to iso", ECPGt_EOIT, ECPGt_EORT);
131+
{ ECPGdo(__LINE__, 0, 1, NULL, "set datestyle to iso", ECPGt_EOIT, ECPGt_EORT);
132132
#line 46 "variable.pgc"
133133

134134
if (sqlca.sqlcode < 0) exit (1);}
135135
#line 46 "variable.pgc"
136136

137137

138138
strcpy(msg, "create");
139-
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "create table family ( name char ( 8 ) , born integer , age smallint , married date , children integer ) ", ECPGt_EOIT, ECPGt_EORT);
139+
{ ECPGdo(__LINE__, 0, 1, NULL, "create table family ( name char ( 8 ) , born integer , age smallint , married date , children integer ) ", ECPGt_EOIT, ECPGt_EORT);
140140
#line 49 "variable.pgc"
141141

142142
if (sqlca.sqlcode < 0) exit (1);}
143143
#line 49 "variable.pgc"
144144

145145

146146
strcpy(msg, "insert");
147-
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "insert into family ( name , married , children ) values ( 'Mum' , '19870714' , 3 ) ", ECPGt_EOIT, ECPGt_EORT);
147+
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into family ( name , married , children ) values ( 'Mum' , '19870714' , 3 ) ", ECPGt_EOIT, ECPGt_EORT);
148148
#line 52 "variable.pgc"
149149

150150
if (sqlca.sqlcode < 0) exit (1);}
151151
#line 52 "variable.pgc"
152152

153-
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "insert into family ( name , born , married , children ) values ( 'Dad' , '19610721' , '19870714' , 3 ) ", ECPGt_EOIT, ECPGt_EORT);
153+
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into family ( name , born , married , children ) values ( 'Dad' , '19610721' , '19870714' , 3 ) ", ECPGt_EOIT, ECPGt_EORT);
154154
#line 53 "variable.pgc"
155155

156156
if (sqlca.sqlcode < 0) exit (1);}
157157
#line 53 "variable.pgc"
158158

159-
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "insert into family ( name , age ) values ( 'Child 1' , 16 ) ", ECPGt_EOIT, ECPGt_EORT);
159+
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into family ( name , age ) values ( 'Child 1' , 16 ) ", ECPGt_EOIT, ECPGt_EORT);
160160
#line 54 "variable.pgc"
161161

162162
if (sqlca.sqlcode < 0) exit (1);}
163163
#line 54 "variable.pgc"
164164

165-
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "insert into family ( name , age ) values ( 'Child 2' , 14 ) ", ECPGt_EOIT, ECPGt_EORT);
165+
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into family ( name , age ) values ( 'Child 2' , 14 ) ", ECPGt_EOIT, ECPGt_EORT);
166166
#line 55 "variable.pgc"
167167

168168
if (sqlca.sqlcode < 0) exit (1);}
169169
#line 55 "variable.pgc"
170170

171-
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "insert into family ( name , age ) values ( 'Child 3' , 9 ) ", ECPGt_EOIT, ECPGt_EORT);
171+
{ ECPGdo(__LINE__, 0, 1, NULL, "insert into family ( name , age ) values ( 'Child 3' , 9 ) ", ECPGt_EOIT, ECPGt_EORT);
172172
#line 56 "variable.pgc"
173173

174174
if (sqlca.sqlcode < 0) exit (1);}
@@ -184,7 +184,7 @@ if (sqlca.sqlcode < 0) exit (1);}
184184

185185

186186
strcpy(msg, "open");
187-
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "declare cur cursor for select name , born , age , married , children from family ", ECPGt_EOIT, ECPGt_EORT);
187+
{ ECPGdo(__LINE__, 0, 1, NULL, "declare cur cursor for select name , born , age , married , children from family ", ECPGt_EOIT, ECPGt_EORT);
188188
#line 62 "variable.pgc"
189189

190190
if (sqlca.sqlcode < 0) exit (1);}
@@ -200,7 +200,7 @@ if (sqlca.sqlcode < 0) exit (1);}
200200
memset(i, 0, sizeof(ind_personal));
201201
while (1) {
202202
strcpy(msg, "fetch");
203-
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "fetch cur", ECPGt_EOIT,
203+
{ ECPGdo(__LINE__, 0, 1, NULL, "fetch cur", ECPGt_EOIT,
204204
ECPGt_varchar,&(p->name),(long)BUFFERSIZ,(long)1,sizeof(struct varchar_name),
205205
ECPGt_int,&(i->ind_name),(long)1,(long)1,sizeof(int),
206206
ECPGt_long,&(p->birth.born),(long)1,(long)1,sizeof(long),
@@ -235,15 +235,15 @@ if (sqlca.sqlcode < 0) exit (1);}
235235
}
236236

237237
strcpy(msg, "close");
238-
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "close cur", ECPGt_EOIT, ECPGt_EORT);
238+
{ ECPGdo(__LINE__, 0, 1, NULL, "close cur", ECPGt_EOIT, ECPGt_EORT);
239239
#line 88 "variable.pgc"
240240

241241
if (sqlca.sqlcode < 0) exit (1);}
242242
#line 88 "variable.pgc"
243243

244244

245245
strcpy(msg, "drop");
246-
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "drop table family ", ECPGt_EOIT, ECPGt_EORT);
246+
{ ECPGdo(__LINE__, 0, 1, NULL, "drop table family ", ECPGt_EOIT, ECPGt_EORT);
247247
#line 91 "variable.pgc"
248248

249249
if (sqlca.sqlcode < 0) exit (1);}

0 commit comments

Comments
 (0)