Bug #11785 Updated: mysql_unbuffered_query and mysql_query failure.

From: Date: Sat, 30 Jun 2001 08:23:43 +0000
Subject: Bug #11785 Updated: mysql_unbuffered_query and mysql_query failure.
Groups: php.dev 
Request: Send a blank email to php-dev+get-58501@lists.php.net to get a copy of this message
ID: 11785 Updated by: derick Reported By: trozdzyn@anronet.pl Old-Status: Open Status: Closed Bug Type: MySQL related Operating system: PHP Version: 4.0.6 Assigned To: Comments: Try putting this line after the mysql_unbuffered_query line. You'll probably see the error that MySQL returns. This is most likely a bug in PHP. Derick Previous Comments: --------------------------------------------------------------------------- [2001-06-28 13:40:17] trozdzyn@anronet.pl I have mysql table with over 60000 records inside. code: $sql = "SELECT * FROM database.table ORDER BY field"; $result = mysql_unbuffered_query($sql) or die("Error!"); does not work at all but displays "Error!" code: $sql = "SELECT * FROM database.table ORDER BY field limit 1,1000"; $result = mysql_unbuffered_query($sql) or die("Error!"); works fine. code: $sql = "SELECT * FROM database.table"; $result = mysql_unbuffered_query($sql) or die("Error!"); works fine. Moreover , there is exactly the same problem with mysql_query() function... My system is: PHP: 4.0.6 MySQL: 3.23.22 Linux Kernel: 2.2.17-14 Help!!! --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11785&edit=2

« previous php.dev (#58501) next »