Bug #10503 data_seek to end (after last row)

Submitted: 10 May 2005 11:25 Modified: 15 Dec 2010 7:30
Reporter: Olaf van der Spek (Basic Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: C API (client library) Severity:S4 (Feature request)
Version:* OS:Any (*)
Assigned to: CPU Architecture:Any
Tags: qc

[10 May 2005 11:25] Olaf van der Spek
Description:
data_seek() can't seek to after the last row. I'd like it to be able to seek to that position to. Just like fseek.

In particular, I'd like mysql_data_seek(..., 0) to always work.

http://dev.mysql.com/doc/mysql/en/mysql-data-seek.html

> Seeks to an arbitrary row in a query result set. The offset value is a row number and should be in the range from 0 to mysql_num_rows(result)-1. 

How to repeat:
mysql_data_seek(..., 0);
[21 Sep 2005 8:23] Olaf van der Spek
Version: 4.1 -> *

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.061 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.