Re: cvs: php-src /ext/odbc php_odbc.c

From: Date: Thu, 14 May 2009 09:55:31 +0000
Subject: Re: cvs: php-src /ext/odbc php_odbc.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-57801@lists.php.net to get a copy of this message
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

« previous php.cvs (#57801) next »