diff options
author | Dan Kalowsky <kalowsky@php.net> | 2003-01-24 22:40:38 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2003-01-24 22:40:38 +0000 |
commit | b48d709746d45bc0f0fe336f503f162ff8761565 (patch) | |
tree | 3c146d7870425281dc92ad66c2bce3568db40057 /ext/odbc | |
parent | 383171b11b8eccb800fe2df820d3db3b28d7fbc1 (diff) | |
download | php-git-b48d709746d45bc0f0fe336f503f162ff8761565.tar.gz |
Patch for bug #21844
Diffstat (limited to 'ext/odbc')
-rw-r--r-- | ext/odbc/php_odbc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index 367b9d8975..0d56b636ef 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -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, |