diff options
author | Michael Meskes <meskes@postgresql.org> | 2010-01-26 09:07:32 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2010-01-26 09:07:32 +0000 |
commit | aa6ac352215d435b277711f85985d00a07a5c590 (patch) | |
tree | 9034ebed7c71dd9a0ed8e307f8e8ce92c8cb010e /src/interfaces/ecpg/test/expected/compat_informix-test_informix.c | |
parent | 525d2cbba2531f15649714121f54620738ffcacb (diff) | |
download | postgresql-aa6ac352215d435b277711f85985d00a07a5c590.tar.gz postgresql-aa6ac352215d435b277711f85985d00a07a5c590.zip |
Applied patch by Boszormenyi Zoltan <zb@cybertec.at> to add out-of-scope cursor support to native mode.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/compat_informix-test_informix.c')
-rw-r--r-- | src/interfaces/ecpg/test/expected/compat_informix-test_informix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/expected/compat_informix-test_informix.c b/src/interfaces/ecpg/test/expected/compat_informix-test_informix.c index 0dc8c7f08ad..c19c2e5aff6 100644 --- a/src/interfaces/ecpg/test/expected/compat_informix-test_informix.c +++ b/src/interfaces/ecpg/test/expected/compat_informix-test_informix.c @@ -147,7 +147,7 @@ if (sqlca.sqlcode < 0) dosqlprint ( );} sqlca.sqlcode = 100; - ECPG_informix_set_var( 0, &( i ), __LINE__);\ + ECPGset_var( 0, &( i ), __LINE__);\ ECPG_informix_reset_sqlca(); /* declare c cursor for select * from test where i <= $1 */ #line 49 "test_informix.pgc" @@ -245,7 +245,7 @@ if (sqlca.sqlcode < 0) dosqlprint ( );} static void openit(void) { { ECPGdo(__LINE__, 1, 1, NULL, 0, ECPGst_normal, "declare c cursor for select * from test where i <= $1 ", - ECPGt_int,&(*( int *)(ECPG_informix_get_var( 0))),(long)1,(long)1,sizeof(int), + ECPGt_int,&(*( int *)(ECPGget_var( 0))),(long)1,(long)1,sizeof(int), ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EOIT, ECPGt_EORT); #line 95 "test_informix.pgc" |