mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Cleanup unused READ_RECORD::index
This commit is contained in:
parent
c8d9ec2cbb
commit
3950a98a34
2 changed files with 0 additions and 3 deletions
|
@ -58,7 +58,6 @@ struct READ_RECORD
|
|||
SQL_SELECT *select;
|
||||
uint cache_records;
|
||||
uint ref_length,struct_length,reclength,rec_cache_size,error_offset;
|
||||
uint index;
|
||||
uchar *ref_pos; /* pointer to form->refpos */
|
||||
uchar *record;
|
||||
uchar *rec_buf; /* to read field values after filesort */
|
||||
|
|
|
@ -20392,7 +20392,6 @@ join_read_first(JOIN_TAB *tab)
|
|||
tab->table->status=0;
|
||||
tab->read_record.read_record_func= join_read_next;
|
||||
tab->read_record.table=table;
|
||||
tab->read_record.index=tab->index;
|
||||
tab->read_record.record=table->record[0];
|
||||
if (!table->file->inited)
|
||||
error= table->file->ha_index_init(tab->index, tab->sorted);
|
||||
|
@ -20433,7 +20432,6 @@ join_read_last(JOIN_TAB *tab)
|
|||
tab->table->status=0;
|
||||
tab->read_record.read_record_func= join_read_prev;
|
||||
tab->read_record.table=table;
|
||||
tab->read_record.index=tab->index;
|
||||
tab->read_record.record=table->record[0];
|
||||
if (!table->file->inited)
|
||||
error= table->file->ha_index_init(tab->index, 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue