diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2019-06-05 20:57:09 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2019-06-07 11:44:56 +0200 |
commit | 490dcfd5d74ce45cbdd6105e4295116f6a944e2b (patch) | |
tree | fce311808a422180e528f05638fe80bd3ffd7027 /sql/item_subselect.cc | |
parent | f7579518e2c32936442a1e20e391f60660c94b3c (diff) | |
download | mariadb-git-490dcfd5d74ce45cbdd6105e4295116f6a944e2b.tar.gz |
MDEV-19698: Cleanup READ_RECORD::record
https://github.com/MariaDB/server/pull/777#issuecomment-496469366
Diffstat (limited to 'sql/item_subselect.cc')
-rw-r--r-- | sql/item_subselect.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc index 538b2c218de..4603a85aa87 100644 --- a/sql/item_subselect.cc +++ b/sql/item_subselect.cc @@ -3877,7 +3877,6 @@ int subselect_single_select_engine::exec() tab->save_read_record= tab->read_record.read_record_func; tab->read_record.read_record_func= rr_sequential; tab->read_first_record= read_first_record_seq; - tab->read_record.record= tab->table->record[0]; tab->read_record.thd= join->thd; tab->read_record.ref_length= tab->table->file->ref_length; tab->read_record.unlock_row= rr_unlock_row; @@ -3895,7 +3894,6 @@ int subselect_single_select_engine::exec() for (JOIN_TAB **ptab= changed_tabs; ptab != last_changed_tab; ptab++) { JOIN_TAB *tab= *ptab; - tab->read_record.record= 0; tab->read_record.ref_length= 0; tab->read_first_record= tab->save_read_first_record; tab->read_record.read_record_func= tab->save_read_record; |