diff options
author | Michael Meskes <meskes@postgresql.org> | 2014-01-09 15:41:51 +0100 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2014-01-09 16:20:19 +0100 |
commit | d685e2424967509f004d9eb6d005dfb58e21d837 (patch) | |
tree | 9951a3e82d74d1fc2fd5489b9ff851d9540ca34b /src/interfaces/ecpg/test/expected/sql-dynalloc2.c | |
parent | c945af80cfdaf72adb91d6688fb3a4c4f17c0757 (diff) | |
download | postgresql-d685e2424967509f004d9eb6d005dfb58e21d837.tar.gz postgresql-d685e2424967509f004d9eb6d005dfb58e21d837.zip |
Fix descriptor output in ECPG.
While working on most platforms the old way sometimes created alignment
problems. This should fix it. Also the regresion tests were updated to test for
the reported case.
Report and fix by MauMau <maumau307@gmail.com>
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-dynalloc2.c')
-rw-r--r-- | src/interfaces/ecpg/test/expected/sql-dynalloc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/expected/sql-dynalloc2.c b/src/interfaces/ecpg/test/expected/sql-dynalloc2.c index 3f200ff6ea4..e85189214bb 100644 --- a/src/interfaces/ecpg/test/expected/sql-dynalloc2.c +++ b/src/interfaces/ecpg/test/expected/sql-dynalloc2.c @@ -188,7 +188,7 @@ if (sqlca.sqlcode < 0) sqlprint ( ); #line 32 "dynalloc2.pgc" { ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "select * from test", ECPGt_EOIT, - ECPGt_descriptor, "mydesc", 0L, 0L, 0L, + ECPGt_descriptor, "mydesc", 1L, 1L, 1L, ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EORT); #line 33 "dynalloc2.pgc" |