From aeb1f6478ec8e2f822b5c08a8e85dfcc99681c64 Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Mon, 6 Oct 2003 06:44:55 +0000 Subject: - Fixed constant listing in execute using clause. - Fixed typo in ecpg for Informix dec_t type. - Fixed precision handling in Informix compat funxtions. --- src/interfaces/ecpg/compatlib/informix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interfaces/ecpg/compatlib/informix.c') diff --git a/src/interfaces/ecpg/compatlib/informix.c b/src/interfaces/ecpg/compatlib/informix.c index 63f43a7ec9..500786cbed 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) -- cgit v1.2.1