php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #336 Hard-coded limit of 10000 rows returned
Submitted: 1998-05-01 08:15 UTC Modified: 1998-05-01 08:39 UTC
From: merronys at ml dot com Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 3.0 Release Candidate 4 OS: Solaris, Linux
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: merronys at ml dot com
New email:
PHP Version: OS:

 

 [1998-05-01 08:15 UTC] merronys at ml dot com
Sybase queries loop if more than 10000 rows returned.

The culprit is in sybsql.c ...

        ** turn on row buffering
        ** buffer maximum 10,000 rows, I think it's enough
        */
        (void) sprintf(rbuf,"%i",10000);

Can this limit be removed or put into php3.ini?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-01 08:39 UTC] zeev
The sybsql module is deprecated.
Use the sybase module instead (documentation available at
http://www.php.net/manual/ref.sybase.php3)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 02:01:29 2024 UTC