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


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
Sign Up Login You must be logged in to post a comment.