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
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: david at uws dot edu dot au
New email:
PHP Version: OS:

 

 [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: Tue Apr 16 08:01:32 2024 UTC