php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11785 mysql_unbuffered_query and mysql_query failure.
Submitted: 2001-06-28 13:40 UTC Modified: 2001-06-30 04:23 UTC
From: trozdzyn at anronet dot pl Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.6 OS: Linux redhat 7.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: trozdzyn at anronet dot pl
New email:
PHP Version: OS:

 

 [2001-06-28 13:40 UTC] trozdzyn at anronet dot 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!!!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-30 04:23 UTC] derick@php.net
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
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 23:01:27 2025 UTC