summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/test2.pgc
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2003-07-08 12:11:35 +0000
committerMichael Meskes <meskes@postgresql.org>2003-07-08 12:11:35 +0000
commitf207718b0cf52dbc080c8856b448e23fea4f8b26 (patch)
tree5b004ed9912a63646dd9412fc06e341431ae24c0 /src/interfaces/ecpg/test/test2.pgc
parentfee6fd7f65a0281bbb20161ba522df80f8a3d05f (diff)
downloadpostgresql-f207718b0cf52dbc080c8856b448e23fea4f8b26.tar.gz
More informix fixes.
Diffstat (limited to 'src/interfaces/ecpg/test/test2.pgc')
-rw-r--r--src/interfaces/ecpg/test/test2.pgc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/test/test2.pgc b/src/interfaces/ecpg/test/test2.pgc
index 8e2160a0ec..f16eb0921e 100644
--- a/src/interfaces/ecpg/test/test2.pgc
+++ b/src/interfaces/ecpg/test/test2.pgc
@@ -65,6 +65,7 @@ exec sql end declare section;
p=&personal;
i=&ind_personal;
+ memset(i, 0, sizeof(ind_personal));
while (1) {
strcpy(msg, "fetch");
exec sql fetch cur into :p:i, :married:ind_married, :children.integer:ind_children.smallint;