Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
-
11.2(EOL)
Description
After this patch:
commit 3a9358a4106a1bd0ae2414f6f0bda50afdd65f0a
|
Author: Igor Babaev <igor@askmonty.org>
|
Date: Sat Jun 18 16:28:48 2022 -0700
|
 |
MDEV-28883 Re-design the upper level of handling UPDATE and DELETE statements
|
The functions
bool st_select_lex::save_prep_leaf_tables(THD *thd)
|
bool LEX::save_prep_leaf_tables()
|
are never called, and these members are never set to anything except the their inital state:
class st_select_lex |
{
|
...
|
List<TABLE_LIST> leaf_tables_prep;
|
enum leaf_list_state prep_leaf_list_state; |
setup_tables() still has [dead] code that checks prep_leaf_list_state.
When I remove all of the above (patch attached: mdev35402-remove-prep-leaf-tables.diff ), mtr still passes.
Attachments
Issue Links
- duplicates
-
MDEV-34819 THD::save_prep_leaf_tables is unused
- Open
- relates to
-
MDEV-28883 Re-design the upper level of handling UPDATE and DELETE statements
- Closed
-
MDEV-35318 Assertion `tl->jtbm_subselect' failed in JOIN::calc_allowed_top_level_tables on 2nd execution of PS
- In Review