php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #232 mysql_data_seek returns false, but errno is zero!
Submitted: 1998-04-02 10:08 UTC Modified: 1998-04-02 17:05 UTC
From: david at uws dot edu dot au Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0 Release Candidate 3 OS: Debian/GNU Linux 1.3
Private report: No CVE-ID: None
 [1998-04-02 10:08 UTC] david at uws dot edu dot au
After having retrieved all rows from a query, trying to
reset the query back to the first row (so that the result
rows may be traversed again) using:

  mysql_data_seek( $rp1, 0 );  /* $rp1 = result pointer */

Not sure if row numbers started at one or zero, I tried "1"
instead of "0" - to no avail.  Each time, mysql_data_seek
returns false (failure) but checking errno/error reports
zero/no error.  :-(

Apache 1.2.6
PHP 3.0RC3
MySQL 3.20.31e

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-04-02 17:05 UTC] andi
Bogus bug report. He figured out his error later on...
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Apr 22 06:01:26 2019 UTC