15.15.11. Implementing the index_prev()
Function
The
index_prev()
function is used for reverse index scanning:
int ha_foo::index_prev(byte * buf)
The *buf
parameter is populated with the row
that corresponds to the previous matching key value according to
the internal cursor set by the storage engine during operations
such as index_read()
and
index_last()
.