|  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
 [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?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-01 08:39 UTC] zeev
The sybsql module is deprecated.
Use the sybase module instead (documentation available at

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 19 22:01:28 2024 UTC