aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/sql-dynalloc.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2014-01-09 15:41:51 +0100
committerMichael Meskes <meskes@postgresql.org>2014-01-09 16:20:19 +0100
commitd685e2424967509f004d9eb6d005dfb58e21d837 (patch)
tree9951a3e82d74d1fc2fd5489b9ff851d9540ca34b /src/interfaces/ecpg/test/expected/sql-dynalloc.c
parentc945af80cfdaf72adb91d6688fb3a4c4f17c0757 (diff)
downloadpostgresql-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-dynalloc.c')
-rw-r--r--src/interfaces/ecpg/test/expected/sql-dynalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/expected/sql-dynalloc.c b/src/interfaces/ecpg/test/expected/sql-dynalloc.c
index ff04922fa78..ccc337168e4 100644
--- a/src/interfaces/ecpg/test/expected/sql-dynalloc.c
+++ b/src/interfaces/ecpg/test/expected/sql-dynalloc.c
@@ -210,7 +210,7 @@ if (sqlca.sqlcode < 0) sqlprint ( );
#line 41 "dynalloc.pgc"
{ ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "select a , b , c , d , e , f , g , h , i from test order by a", ECPGt_EOIT,
- ECPGt_descriptor, "mydesc", 0L, 0L, 0L,
+ ECPGt_descriptor, "mydesc", 1L, 1L, 1L,
ECPGt_NO_INDICATOR, NULL , 0L, 0L, 0L, ECPGt_EORT);
#line 42 "dynalloc.pgc"