summaryrefslogtreecommitdiff
path: root/sql/opt_subselect.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2014-02-07 20:51:31 +0400
committerSergey Petrunya <psergey@askmonty.org>2014-02-07 20:51:31 +0400
commit34b6f51dab7a2710b1bba816dde486a9c9c6c9c2 (patch)
tree62c200112153c47f1356d4f54406cb423bc8f835 /sql/opt_subselect.h
parent669c6620af9a9996a66ca9b339d4fb05eb6bf944 (diff)
downloadmariadb-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.h2
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,