Bug #1002: Mysql Crashes using PHP mysql_numrows($result)
| From: | maverick at im2 dot im dot tku dot edu dot tw | Date: | Wed, 23 Dec 1998 13:11:50 +0000 |
| Subject: | Bug #1002: Mysql Crashes using PHP mysql_numrows($result) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3019@lists.php.net to get a copy of this message | ||
From: maverick@im2.im.tku.edu.tw
Operating system: FreeBSD 3.0-RELEASE Apache_1.3.3
PHP version: 3.0.5
PHP Bug Type: Reproduceable crash
Bug description: Mysql Crashes using PHP mysql_numrows($result)
$result=mysql($database,"select tcode from thenet $index $index1");
$datanum=mysql_numrows($result);
when $resule nothing
then mysql_numrows($result) whill crash mysqld
system display this error message
pid 24903 (mysqld), uid 0: exited on signal 11
use php-3.0.5 & 3.0.6 have the same problem
mysql-3.21.33 & 3.22.13
i compiled mysql use freebsds threads lib like this
--with-named-thread-libs=-lc_r
is this touch off this problem ??
or i should mit-threads......
thanks..
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net