15.14.2. Implementing the rnd_pos() Function
The
rnd_pos()
function behaves in a similar fashion to the
rnd_next() function but takes an additional
parameter:
int ha_foo::rnd_pos(byte * buf, byte *pos)
The *pos parameter contains positioning
information previously recorded using the
position() function.
A storage engine must locate the row specified by the position
and return it through *buf in the internal
MySQL row format.