[bug] WHERE thing != ''
| From: | Yann Buril | Date: | Mon, 29 May 2000 21:30:27 +0000 |
| Subject: | [bug] WHERE thing != '' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19711@lists.php.net to get a copy of this message | ||
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...
Thanks a lot, I love php
Yann Buril