Purpose
Find a row based on a key and return.
Synopsis
virtual int index_read
( |
buf, |
|
|
key, |
|
|
key_len, |
|
|
find_flag) ; |
|
byte * |
buf
; |
const byte * |
key
; |
uint |
key_len
; |
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
key_len
find_flag
Return Values
This function has no return values.
Usage
Default Implementation
{ return HA_ERR_WRONG_COMMAND; }