Re: [bug] WHERE thing != ''

From: Date: Mon, 29 May 2000 22:46:52 +0000
Subject: Re: [bug] WHERE thing != ''
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-19807@lists.php.net to get a copy of this message
At 23:30 29/05/2000 , Yann Buril wrote:
Hi There is a very unpleasant bug in the release version of PHP4.0.0. It seems it is new, because my programs worked perfectly well with the RC2. A simple code like this (where "thing" is a varchar(255) in MySQL) : $result=mysql_query("SELECT thing FROM test WHERE thing != ''"); produces a segmentation fault in apache 1.3.12 under RedHat Linux 6.2. Haven't tried any other OS. So it is not possible to select a non-empty string with the new release...
I truly doubt there's such a bug; Are you using any other Apache module that uses MySQL? Perhaps mod_auth_mysql? Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.dev (#19807) next »