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


22.18.9 index_first

Purpose

Retrieve first row in index and return.

Synopsis

virtual int index_first (

buf);

byte *

buf ;

Description

This is the index_first method.

index_first() asks for the first 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 row.

Return Values

There are no return values.

Usage

Implementation depends on indexing method used.

Default Implementation

 { return HA_ERR_WRONG_COMMAND; } 

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