mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Followup to previous commit:
- Update test results
- Fix a problem with PS:
= convert_subq_to_sj() should not save where to prep_where or on_expr to prep_on_expr.
= After an unmerged subquery predicate has been pulled, it should call fix_after_pullout() for
outer_refs.
This commit is contained in:
parent
04326c5220
commit
4493197125
8 changed files with 29 additions and 25 deletions
|
|
@ -476,12 +476,10 @@ void Item_subselect::recalc_used_tables(st_select_lex *new_parent,
|
|||
upper->item->walk(&Item::enumerate_field_refs_processor, FALSE,
|
||||
(uchar*)&fixer);
|
||||
used_tables_cache |= fixer.used_tables;
|
||||
/*
|
||||
|
||||
if (after_pullout)
|
||||
upper->item->fix_after_pullout(new_parent, &(upper->item));
|
||||
upper->item->update_used_tables();
|
||||
used_tables_cache |= upper->item->used_tables();
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue