aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/compatlib/informix.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2004-06-27 12:28:42 +0000
committerMichael Meskes <meskes@postgresql.org>2004-06-27 12:28:42 +0000
commit03ad5da8f89d7bc199a711e1c49b64c2b2832154 (patch)
tree830ee40d7f91a744419b6b3f49a3b130037515fc /src/interfaces/ecpg/compatlib/informix.c
parent4eb5f0a8e2a8ef37751ad6086714afed9da31b48 (diff)
downloadpostgresql-03ad5da8f89d7bc199a711e1c49b64c2b2832154.tar.gz
postgresql-03ad5da8f89d7bc199a711e1c49b64c2b2832154.zip
- Only use typedefs inside their scope.
- Variables that are out of scope, were not removed all the time. - Make a varchar NULL set everything to 0 when not using indicators. - Synced parser.
Diffstat (limited to 'src/interfaces/ecpg/compatlib/informix.c')
-rw-r--r--src/interfaces/ecpg/compatlib/informix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/compatlib/informix.c b/src/interfaces/ecpg/compatlib/informix.c
index 973d7a8547d..ad55a542e28 100644
--- a/src/interfaces/ecpg/compatlib/informix.c
+++ b/src/interfaces/ecpg/compatlib/informix.c
@@ -1002,12 +1002,12 @@ ECPG_informix_get_var(int number)
int
rsetnull(int t, char *ptr)
{
- ECPGset_informix_null(t, ptr);
+ ECPGset_noind_null(t, ptr);
return 0;
}
int
risnull(int t, char *ptr)
{
- return (ECPGis_informix_null(t, ptr));
+ return (ECPGis_noind_null(t, ptr));
}