Documentation Home
MySQL Internals Manual


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
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.