Documentation Home
MySQL Internals Manual
Download this Manual
EPUB - 1.2Mb

MySQL Internals Manual  /  ...  /  Implementing the index_last() Method

23.16.14 Implementing the index_last() Method

The [custom-engine.html#custom-engine-api-reference-index_last index_last()] method is used for reverse index scanning:

 int ha_foo::index_last(byte * buf) 

The *buf parameter is populated with the row that corresponds to the last key value in the index.

User Comments
Sign Up Login You must be logged in to post a comment.