Documentation Home
MySQL Internals Manual


23.18.11 index_last

Purpose

Return the last row in the index.

Synopsis

virtual int index_last (

buf);

byte *

buf ;

Description

This is the index_last method.

index_last() asks for the last key in the index.

Called from opt_range.cc, opt_sum.cc, sql_handler.cc, and sql_select.cc.

Parameters

  • buf - byte array to be populated with matching row.

Return Values

This method has no return values.

Usage

Advance to last row in index and return row in buffer.

Default Implementation

 { return HA_ERR_WRONG_COMMAND; }

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.