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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 + 46 = ?
Subscribe to this entry?

 
 [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-2020 The PHP Group
All rights reserved.
Last updated: Fri Feb 28 03:01:27 2020 UTC