diff options
author | Michael Meskes <meskes@postgresql.org> | 2003-10-06 06:44:55 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2003-10-06 06:44:55 +0000 |
commit | aeb1f6478ec8e2f822b5c08a8e85dfcc99681c64 (patch) | |
tree | 7a8dcb585c61b719637bc462ec1ab4939501647e /src/interfaces/ecpg/compatlib/informix.c | |
parent | 5e3aaf5402b80f8abc877d8a9bfaa54fdf922a12 (diff) | |
download | postgresql-aeb1f6478ec8e2f822b5c08a8e85dfcc99681c64.tar.gz postgresql-aeb1f6478ec8e2f822b5c08a8e85dfcc99681c64.zip |
- Fixed constant listing in execute using clause.
- Fixed typo in ecpg for Informix dec_t type.
- Fixed precision handling in Informix compat funxtions.
Diffstat (limited to 'src/interfaces/ecpg/compatlib/informix.c')
-rw-r--r-- | src/interfaces/ecpg/compatlib/informix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/compatlib/informix.c b/src/interfaces/ecpg/compatlib/informix.c index 63f43a7ec9b..500786cbede 100644 --- a/src/interfaces/ecpg/compatlib/informix.c +++ b/src/interfaces/ecpg/compatlib/informix.c @@ -341,7 +341,7 @@ dectoasc(decimal * np, char *cp, int len, int right) if (right >= 0) str = PGTYPESnumeric_to_asc(nres, right); else - str = PGTYPESnumeric_to_asc(nres, 0); + str = PGTYPESnumeric_to_asc(nres, -1); PGTYPESnumeric_free(nres); if (!str) |