Patch for bug #21844

This commit is contained in:
Dan Kalowsky 2003-01-24 22:40:38 +00:00
parent 383171b11b
commit b48d709746

View file

@ -2879,6 +2879,11 @@ PHP_FUNCTION(odbc_columns)
RETURN_FALSE;
}
/*
* Needed to make MS Access happy
*/
if (table && strlen(table) && schema && !strlen(schema)) schema = NULL;
rc = SQLColumns(result->stmt,
cat, cat_len,
schema, schema_len,