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
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:
40 - 28 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC