Hi,
On Thu, 2009-05-14 at 01:25 +0000, Felipe Pena wrote:
> felipe Thu May 14 01:25:17 2009 UTC
>
> Modified files:
> /php-src/ext/odbc php_odbc.c
> Log:
> - Fixed bug #42414 (some odbc_*() functions incompatible with Oracle ODBC
> driver)
> @@ -3122,6 +3122,10 @@
> schema = NULL;
> }
>
> + if (cat && cat_len == 0) {
> + cat = NULL;
> + }
> +
Passing "" gives you "tables that do not have schemas" whereas NULL
gives you tables from all schemas, see
http://msdn.microsoft.com/en-us/library/ms711683.aspx
Similar for the other functions.
Not sure which feature is more important - didn't check where cat is
coming from so the user can explicitly make this NULL or "".
johannes
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php