- Made Informix decimal-ascii conversion honor Informix NULLs.
- Informix variable handling didn't cope well with arrays.
+
+Wed Jul 9 11:45:02 CEST 2003
+
+ - Made all Informix functions honor Informix NULLs.
+ - Extended compatibility functions for INFORMIX handling of DECLARE
+ statement to work with indicators.
- Set ecpg version to 3.0.0
- Set ecpg library to 4.0.0
- Set pgtypes library to 1.0.0
Numeric *a1, *a2, *nres;
int i;
+ if (risnull(CDECIMALTYPE, (char *)arg1) || risnull(CDECIMALTYPE, (char *)arg2))
+ {
+ rsetnull(CDECIMALTYPE, (char *)result);
+ return 0;
+ }
+
if ((a1 = PGTYPESnumeric_new()) == NULL)
return -1211;
Numeric *nres = PGTYPESnumeric_new();
int result = 1;
+ if (risnull(CDOUBLETYPE, (char *)&dbl))
+ {
+ rsetnull(CDECIMALTYPE, (char *)np);
+ return 0;
+ }
+
if (nres == NULL)
return -1211;
Numeric *nres = PGTYPESnumeric_new();
int result = 1;
+ if (risnull(CINTTYPE, (char *)&in))
+ {
+ rsetnull(CDECIMALTYPE, (char *)np);
+ return 0;
+ }
+
if (nres == NULL)
return -1211;
Numeric *nres = PGTYPESnumeric_new();
int result = 1;
+ if (risnull(CLONGTYPE, (char *)&lng))
+ {
+ rsetnull(CDECIMALTYPE, (char *)np);
+ return 0;
+ }
+
if (nres == NULL)
return -1211;