Public Member Functions | |
unsigned char * | getCache () |
void | init () |
int | init_read_record (Session *session, Table *reg_form, optimizer::SqlSelect *select, int use_record_cache, bool print_errors) __attribute__((warn_unused_result)) |
void | end_read_record () |
int | init_read_record_idx (Session *session, Table *table, bool print_error, uint32_t idx) __attribute__((warn_unused_result)) |
void | init_reard_record_sequential () |
bool | init_rr_cache () |
Public Attributes | |
Table * | table |
Cursor * | cursor |
Table ** | forms |
int(* | read_record )(ReadRecord *) |
Session * | session |
optimizer::SqlSelect * | select |
uint32_t | cache_records |
uint32_t | ref_length |
uint32_t | struct_length |
uint32_t | reclength |
uint32_t | rec_cache_size |
uint32_t | error_offset |
uint32_t | index |
unsigned char * | ref_pos |
unsigned char * | record |
unsigned char * | rec_buf |
unsigned char * | cache_pos |
unsigned char * | cache_end |
unsigned char * | read_positions |
internal::IO_CACHE * | io_cache |
bool | print_error |
bool | ignore_not_found_rows |
JoinTable * | do_insideout_scan |
Private Attributes | |
unsigned char * | cache |
int drizzled::ReadRecord::init_read_record_idx | ( | Session * | session, |
Table * | table, | ||
bool | print_error, | ||
uint32_t | idx | ||
) |
Initialize ReadRecord structure to perform full index scan (in forward direction) using read_record.read_record() interface.
This function has been added at late stage and is used only by UPDATE/DELETE. Other statements perform index scans using join_read_first/next functions.
info | ReadRecord structure to initialize. |
session | Thread handle |
table | Table to be accessed |
print_error | If true, call table->print_error() if an error occurs (except for end-of-records error) |
idx | index to scan |
Definition at line 53 of file records.cc.
References drizzled::Table::cursor, and drizzled::rr_index_first().
Referenced by drizzled::delete_query(), and drizzled::update_query().