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


22.18.14 index_read

Purpose

Find a row based on a key and return.

Synopsis

virtual int index_read (

buf,

key,

keypart_map,

find_flag);

byte *

buf ;

const byte *

key ;

ulonglong

keypart_map ;

enum ha_rkey_function

find_flag ;

Description

This is the index_read method.

Positions an index cursor to the index specified in the handle. Fetches the row if available. If the key value is null, begin at the first key of the index.

Parameters

  • buf

  • key

  • keypart_map

  • find_flag

Return Values

This method has no return values.

Usage

This section is still to be written.

Default Implementation

 { return HA_ERR_WRONG_COMMAND; } 

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