Purpose
Find a row based on a key and return.
Synopsis
virtual int index_read_idx
( |
buf, |
|
|
index, |
|
|
key, |
|
|
key_len, |
|
|
find_flag) ; |
|
byte * |
buf
; |
uint |
index
; |
const byte * |
key
; |
uint |
key_len
; |
enum
ha_rkey_function |
find_flag
; |
Description
This is the index_read_idx
method.
Positions an index cursor to the index specified in key. Fetches
the row if any. This is only used to read whole keys.
Parameters
buf
index
key
key_len
find_flag
Return Values
This function has no return values.
Usage
Locate the row that matches the key passed and return it in the
buffer provided.