Re: [PHP3] php4b2 + phplib 7

From: Date: Wed, 25 Aug 1999 20:35:00 +0000
Subject: Re: [PHP3] php4b2 + phplib 7
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-3728@lists.php.net to get a copy of this message
At 13:15 25/08/99 , Kristian Köhntopp wrote:
Zeev Suraski wrote: I've looked at it once, it seems like a PHPlib bug (it actually seems to generate an empty query). Kristian - can you verify it or submit a bug report? The mysql module in PHP4B2 puked when it received an empty query string. PHPLIB generated empty query strings in the constructor of DB_Sql. This has been fixed in the CVS, but the old versions are still out there. I suggest PHP4 simply ignores empty query strings.
How is it related to PHP 4.0 though? PHP 3.0 didn't optimize away empty queries either, so I don't see how that problem doesn't occur there too..? Isn't it related to a new MySQL behavior? Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il

« previous php.version4 (#3728) next »