diff options
Diffstat (limited to 'src/interfaces/ecpg/test/expected/preproc-cursor.c')
-rw-r--r-- | src/interfaces/ecpg/test/expected/preproc-cursor.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/test/expected/preproc-cursor.c b/src/interfaces/ecpg/test/expected/preproc-cursor.c index 48229017421..a4e7b12c17a 100644 --- a/src/interfaces/ecpg/test/expected/preproc-cursor.c +++ b/src/interfaces/ecpg/test/expected/preproc-cursor.c @@ -185,6 +185,11 @@ if (sqlca.sqlcode < 0) exit (1);} /* declare $0 cursor for select id , t from t1 */ #line 64 "cursor.pgc" +if (sqlca.sqlcode < 0) exit (1); +#line 64 "cursor.pgc" + +#line 64 "cursor.pgc" + strcpy(msg, "open"); { ECPGdo(__LINE__, 0, 1, "test1", 0, ECPGst_normal, "declare $0 cursor for select id , t from t1", @@ -321,6 +326,11 @@ if (sqlca.sqlcode < 0) exit (1);} /* declare $0 cursor for select id , t from t1 */ #line 105 "cursor.pgc" +if (sqlca.sqlcode < 0) exit (1); +#line 105 "cursor.pgc" + +#line 105 "cursor.pgc" + strcpy(msg, "open"); { ECPGdo(__LINE__, 0, 1, "test1", 0, ECPGst_normal, "declare $0 cursor for select id , t from t1", @@ -477,10 +487,20 @@ if (sqlca.sqlcode < 0) exit (1);} /* declare $0 cursor for $1 */ #line 149 "cursor.pgc" +if (sqlca.sqlcode < 0) exit (1); +#line 149 "cursor.pgc" + +#line 149 "cursor.pgc" + ECPGset_var( 5, &( curname5 ), __LINE__);\ /* declare $0 cursor for $1 */ #line 150 "cursor.pgc" +if (sqlca.sqlcode < 0) exit (1); +#line 150 "cursor.pgc" + +#line 150 "cursor.pgc" + strcpy(msg, "open"); { ECPGdo(__LINE__, 0, 1, "test1", 0, ECPGst_normal, "declare $0 cursor for $1", @@ -661,6 +681,11 @@ if (sqlca.sqlcode < 0) exit (1);} /* declare $0 cursor for $1 */ #line 203 "cursor.pgc" +if (sqlca.sqlcode < 0) exit (1); +#line 203 "cursor.pgc" + +#line 203 "cursor.pgc" + strcpy(msg, "open"); { ECPGdo(__LINE__, 0, 1, "test1", 0, ECPGst_normal, "declare $0 cursor for $1", |