mysql_row_seek(3)

mysql_row_seek3

Name

mysql_row_seek - Positions the row cursor to an arbitrary row

Synopsis

#include <mysql.h>
MYSQL_ROW_OFFSET mysql_row_seek(MYSQL_RES * result,
                                MYSQL_ROW_OFFSET offset);

Description

Positions the row cursor to an arbitrary row in a result set which was obtained by mysql_store_result(3).

Parameter

•

result - a result set identifier returned by mysql_store_result(3).

•

offset - row offset. This value can be obtained either by mysql_row_seek() or mysql_row_tell(3)

Notes

•

This function will not work if the result set was obtained by mysql_use_result(3).

Return value

Returns the previous row offset.

See also

•

mysql_store_result(3)

•

mysql_row_tell(3)

Releases

3 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13–Arch

From mariadb 13.0.2-2 in Arch Linux 2026-11-01. Also shipped by mariadb-lts. Parsed by carta from the page's man source.