Documentation Home
MySQL Internals Manual

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

23.16.11 Implementing the index_next() Method

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

int ha_foo::index_next(byte * buf)

The *buf parameter is populated with the row that corresponds to the next matching key value according to the internal cursor set by the storage engine during operations such as index_read() and index_first().