diff options
Diffstat (limited to 'sql/records.h')
-rw-r--r-- | sql/records.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/records.h b/sql/records.h index 473cb610be5..940c88ca0c7 100644 --- a/sql/records.h +++ b/sql/records.h @@ -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: |