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

From: Date: Thu, 14 May 2009 11:08:52 +0000
Subject: Re: cvs: php-src /ext/odbc php_odbc.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-57802@lists.php.net to get a copy of this message
Hello, Em Qui, 2009-05-14 às 11:55 +0200, Johannes Schlüter escreveu: > 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 "". > Oh, thanks. I'll need to change the parameter type in this case. (They are all using 's') -- Regards, Felipe Pena

« previous php.cvs (#57802) next »