Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

15.17.14. index_read_idx

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.


 
 
  Published under the terms of the GNU General Public License Design by Interspire