For the complete documentation index, see llms.txt. This page is also available as Markdown.

mysql_row_seek

mysql_row_seek repositions the row cursor in a buffered MariaDB result set to an arbitrary offset, returning the previous row position as a MYSQL_ROW_OFFSET.

Syntax

MYSQL_ROW_OFFSET mysql_row_seek(MYSQL_RES * result,
    MYSQL_ROW_OFFSET offset);

Parameters

Description

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

Return Value

Returns the previous row offset.

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

See Also

This page is: Copyright © 2026 MariaDB. All rights reserved.

spinner

Last updated

Was this helpful?