MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
READ_RECORD Struct Reference

#include <records.h>

Collaboration diagram for READ_RECORD:

Public Types

typedef int(* Read_func )(READ_RECORD *)
typedef void(* Unlock_row_func )(st_join_table *)
typedef int(* Setup_func )(JOIN_TAB *)

Public Attributes

TABLEtable
TABLE ** forms
Unlock_row_func unlock_row
Read_func read_record
THD * thd
SQL_SELECTselect
uint cache_records
uint ref_length
uint struct_length
uint reclength
uint rec_cache_size
uint error_offset
uint index
uchar * ref_pos
uchar * record
uchar * rec_buf
uchar * cache
uchar * cache_pos
uchar * cache_end
uchar * read_positions
struct st_io_cacheio_cache
bool print_error
bool ignore_not_found_rows

Detailed Description

A context for reading through a single table using a chosen access method: index read, scan, etc, use of cache, etc.

Use by:

READ_RECORD read_record;
if (init_read_record(&read_record, ...))
return TRUE;
while (read_record.read_record())
{
...
}
end_read_record();

Definition at line 43 of file records.h.


The documentation for this struct was generated from the following file: