summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2010-05-23 23:13:18 +0400
committerSergey Petrunya <psergey@askmonty.org>2010-05-23 23:13:18 +0400
commit3f595889d35c81540eb14ef3c53105cb6c4db833 (patch)
treeb3c1f3047009d3d94a41c169093b843883ee4470 /sql/table.cc
parented8aa9868e074e6489f3b71f585606b6eecc97c6 (diff)
downloadmariadb-git-3f595889d35c81540eb14ef3c53105cb6c4db833.tar.gz
Subqueries: Inside-out execution for non-semijoin materialized subqueries that are AND-parts of the WHERE
- Code cleanup - Query plan change is due to s/ha_rows JOIN_TAB::read_time/double JOIN_TAB::read_time/
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 7c63138acc7..27aabad1cd5 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -5114,6 +5114,12 @@ bool st_table::is_children_attached(void)
(parent && parent->children_attached));
}
+
+bool st_table::is_filled_at_execution()
+{
+ return test(pos_in_table_list->jtbm_subselect);
+}
+
/*
Cleanup this table for re-execution.