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:23:38 +0200
commitf9179685371b74bf4752bf3f87846e5625cf91fa (patch)
treec02f67b1b93e0efb81db3ad7c36a8d1c0ba3892e /src/interfaces/ecpg/test/expected/preproc-array_of_struct.c
parent0c4ea7a309249064b7c2a8b9612ee00f570f14af (diff)
downloadpostgresql-f9179685371b74bf4752bf3f87846e5625cf91fa.tar.gz
postgresql-f9179685371b74bf4752bf3f87846e5625cf91fa.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();