diff options
author | Michael Meskes <meskes@postgresql.org> | 2008-01-15 10:31:47 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2008-01-15 10:31:47 +0000 |
commit | dbdc2e52a0c3569c6237c0b675fc739968f015d9 (patch) | |
tree | be43c0fcd3e5d6a9f5523eb20d3bed6284a505f8 /src/interfaces/ecpg/test/expected/sql-fetch.c | |
parent | abab776b3c64f7dace82e8d0f3389851b8857798 (diff) | |
download | postgresql-dbdc2e52a0c3569c6237c0b675fc739968f015d9.tar.gz postgresql-dbdc2e52a0c3569c6237c0b675fc739968f015d9.zip |
Re-enabled variables in fetch/move command.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-fetch.c')
-rw-r--r-- | src/interfaces/ecpg/test/expected/sql-fetch.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/test/expected/sql-fetch.c b/src/interfaces/ecpg/test/expected/sql-fetch.c index dd04d6f14fa..54d69e47abc 100644 --- a/src/interfaces/ecpg/test/expected/sql-fetch.c +++ b/src/interfaces/ecpg/test/expected/sql-fetch.c @@ -26,13 +26,13 @@ int main(int argc, char* argv[]) { /* exec sql begin declare section */ - + #line 9 "fetch.pgc" char str [ 25 ] ; #line 10 "fetch.pgc" - int i ; + int i , count = 1 ; /* exec sql end declare section */ #line 11 "fetch.pgc" @@ -146,7 +146,9 @@ if (sqlca.sqlcode < 0) sqlprint();} #line 37 "fetch.pgc" - { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "fetch 1 in C", ECPGt_EOIT, + { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "fetch $0 in C", + ECPGt_int,&(count),(long)1,(long)1,sizeof(int), + ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EOIT, ECPGt_int,&(i),(long)1,(long)1,sizeof(int), ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_char,(str),(long)25,(long)1,(25)*sizeof(char), |