mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Patch for bug #21844
This commit is contained in:
parent
383171b11b
commit
b48d709746
1 changed files with 5 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue