diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2014-02-07 20:51:31 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2014-02-07 20:51:31 +0400 |
commit | 34b6f51dab7a2710b1bba816dde486a9c9c6c9c2 (patch) | |
tree | 62c200112153c47f1356d4f54406cb423bc8f835 /sql/opt_subselect.h | |
parent | 669c6620af9a9996a66ca9b339d4fb05eb6bf944 (diff) | |
download | mariadb-git-34b6f51dab7a2710b1bba816dde486a9c9c6c9c2.tar.gz |
MDEV-5582: Plugin 'MEMORY' has ref_count=1 after shutdown with materialization+semijoin
- Let cleanup_empty_jtbm_semi_joins() walk into semi-join nests.
Diffstat (limited to 'sql/opt_subselect.h')
-rw-r--r-- | sql/opt_subselect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_subselect.h b/sql/opt_subselect.h index 88ecc6cb405..444b3840950 100644 --- a/sql/opt_subselect.h +++ b/sql/opt_subselect.h @@ -12,7 +12,7 @@ int pull_out_semijoin_tables(JOIN *join); bool optimize_semijoin_nests(JOIN *join, table_map all_table_map); bool setup_jtbm_semi_joins(JOIN *join, List<TABLE_LIST> *join_list, Item **join_where); -void cleanup_empty_jtbm_semi_joins(JOIN *join); +void cleanup_empty_jtbm_semi_joins(JOIN *join, List<TABLE_LIST> *join_list); // used by Loose_scan_opt ulonglong get_bound_sj_equalities(TABLE_LIST *sj_nest, |