Bug 29058 (patch submitted by bug reporter)

This commit is contained in:
Dan Kalowsky 2004-07-15 15:09:12 +00:00
parent cfc8accd3e
commit f20849d12e

View File

@ -3038,7 +3038,7 @@ PHP_FUNCTION(odbc_foreignkeys)
fschema = Z_STRVAL_PP(pv_fschema);
convert_to_string_ex(pv_ftable);
ftable = Z_STRVAL_PP(pv_ftable);
#ifdef HAVE_DBMAKER
#if defined(HAVE_DBMAKER) || defined (HAVE_IBMDB2)
#define EMPTY_TO_NULL(xstr) \
if ((int)strlen((xstr)) == 0) (xstr) = NULL