mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
simplify READ_RECORD usage NFC
READ_RECORD read_record; ... // this // read_record.read_record(&read_record); // becomes just read_record.read_record();
This commit is contained in:
parent
e1051590b6
commit
5dd8e1bf2d
19 changed files with 64 additions and 62 deletions
|
|
@ -55,7 +55,7 @@ struct READ_RECORD
|
|||
//handler *file;
|
||||
TABLE **forms; /* head and ref forms */
|
||||
Unlock_row_func unlock_row;
|
||||
Read_func read_record;
|
||||
Read_func read_record_func;
|
||||
THD *thd;
|
||||
SQL_SELECT *select;
|
||||
uint cache_records;
|
||||
|
|
@ -70,6 +70,8 @@ struct READ_RECORD
|
|||
bool print_error, ignore_not_found_rows;
|
||||
void (*unpack)(struct st_sort_addon_field *, uchar *, uchar *);
|
||||
|
||||
int read_record() { return read_record_func(this); }
|
||||
|
||||
/*
|
||||
SJ-Materialization runtime may need to read fields from the materialized
|
||||
table and unpack them into original table fields:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue