aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/preproc-array_of_struct.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2014-04-09 11:21:46 +0200
committerMichael Meskes <meskes@postgresql.org>2014-04-09 11:38:40 +0200
commit3b8fda6763ceccac0fc5ae0e921568235608252c (patch)
tree9ae975a8122fa84239ba171697f3938a55d46965 /src/interfaces/ecpg/test/expected/preproc-array_of_struct.c
parent601c01e08ded65225c0a94878a9e5b6d90cd1206 (diff)
downloadpostgresql-3b8fda6763ceccac0fc5ae0e921568235608252c.tar.gz
postgresql-3b8fda6763ceccac0fc5ae0e921568235608252c.zip
Several fixes to array handling in ecpg.
Patches by Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Diffstat (limited to 'src/interfaces/ecpg/test/expected/preproc-array_of_struct.c')
-rw-r--r--src/interfaces/ecpg/test/expected/preproc-array_of_struct.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/test/expected/preproc-array_of_struct.c b/src/interfaces/ecpg/test/expected/preproc-array_of_struct.c
index 9bb09cc38f4..216f234b92e 100644
--- a/src/interfaces/ecpg/test/expected/preproc-array_of_struct.c
+++ b/src/interfaces/ecpg/test/expected/preproc-array_of_struct.c
@@ -235,10 +235,10 @@ if (sqlca.sqlcode < 0) sqlprint();}
}
{ ECPGdo(__LINE__, 0, 1, NULL, 0, ECPGst_normal, "select * from customers limit 1", ECPGt_EOIT,
- ECPGt_varchar,&(custs4.name),(long)50,(long)1,sizeof(struct varchar_4),
- ECPGt_short,&(inds[0].name_ind),(long)1,(long)1,sizeof(short),
- ECPGt_int,&(custs4.phone),(long)1,(long)1,sizeof(int),
- ECPGt_short,&(inds[0].phone_ind),(long)1,(long)1,sizeof(short), ECPGt_EORT);
+ ECPGt_varchar,&(custs4.name),(long)50,(long)1,sizeof( struct customer4 ),
+ ECPGt_short,&(inds[0].name_ind),(long)1,(long)1,sizeof( struct ind ),
+ ECPGt_int,&(custs4.phone),(long)1,(long)1,sizeof( struct customer4 ),
+ ECPGt_short,&(inds[0].phone_ind),(long)1,(long)1,sizeof( struct ind ), ECPGt_EORT);
#line 80 "array_of_struct.pgc"
if (sqlca.sqlcode == ECPG_NOT_FOUND) sqlprint();