diff options
Diffstat (limited to 'src/interfaces/ecpg/test/expected/preproc-whenever_do_continue.c')
-rw-r--r-- | src/interfaces/ecpg/test/expected/preproc-whenever_do_continue.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/expected/preproc-whenever_do_continue.c b/src/interfaces/ecpg/test/expected/preproc-whenever_do_continue.c index a367af00f37..86b9984c044 100644 --- a/src/interfaces/ecpg/test/expected/preproc-whenever_do_continue.c +++ b/src/interfaces/ecpg/test/expected/preproc-whenever_do_continue.c @@ -33,7 +33,7 @@ int main(void) - + #line 15 "whenever_do_continue.pgc" @@ -48,6 +48,9 @@ int main(void) float comm ; } emp ; +#line 16 "whenever_do_continue.pgc" + int loopcount ; + #line 17 "whenever_do_continue.pgc" char msg [ 128 ] ; /* exec sql end declare section */ @@ -119,7 +122,7 @@ if (sqlca.sqlcode < 0) sqlprint();} #line 42 "whenever_do_continue.pgc" - while (1) + for (loopcount = 0; loopcount < 100; loopcount++) { { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "fetch c", ECPGt_EOIT, ECPGt_char,&(emp.ename),(long)12,(long)1,(12)*sizeof(char), |