summaryrefslogtreecommitdiff
path: root/sql/item_subselect.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-06-12 08:37:27 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-06-12 08:37:27 +0300
commit2fd82471aba9447e5490b24da5da89c33a21525e (patch)
tree562b878063c3d6224ba7090c7c01306a18561ec5 /sql/item_subselect.cc
parent1f6b02e9f0059932da4a9c05fdfc26f473a89cde (diff)
parentb42dbdbccd3b939394ca9b608ad91a04235e95f1 (diff)
downloadmariadb-git-2fd82471aba9447e5490b24da5da89c33a21525e.tar.gz
Merge 10.3 into 10.4
Diffstat (limited to 'sql/item_subselect.cc')
-rw-r--r--sql/item_subselect.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc
index 9f58999d4cc..1d950a7dad3 100644
--- a/sql/item_subselect.cc
+++ b/sql/item_subselect.cc
@@ -3913,7 +3913,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;
@@ -3931,7 +3930,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;