summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2011-06-22 01:57:28 +0400
committerSergey Petrunya <psergey@askmonty.org>2011-06-22 01:57:28 +0400
commit6adddca80ec5ec972067917c54465d051b7d1cf4 (patch)
treea57908fb25ab407c1262a1873a1f436478191cb6 /sql/table.cc
parente1d734f383ce173871f8715eef273bdd0e070cc5 (diff)
downloadmariadb-git-6adddca80ec5ec972067917c54465d051b7d1cf4.tar.gz
Make semi-joins work with outer joins part #1:
- Make make_outerjoin_info() correctly process semi-join nests - Make make_join_select() attach conditions to the right places.
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 8427ca6e112..f30ecaa3b7d 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -5408,9 +5408,11 @@ bool st_table::is_children_attached(void)
bool st_table::is_filled_at_execution()
{
- return test(pos_in_table_list->jtbm_subselect);
+ return test(pos_in_table_list->jtbm_subselect ||
+ pos_in_table_list->is_active_sjm());
}
+
/*
Cleanup this table for re-execution.