summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2006-11-01 14:50:14 -0800
committerunknown <igor@rurik.mysql.com>2006-11-01 14:50:14 -0800
commit0e69c252a17e6b5753079bc6313f2b7ac6fe1e66 (patch)
tree21a8ce870c8dc48dc38623d1004a608f26e8b280 /sql/item_subselect.h
parent361f0468dba471aa0355214653244c14b3dd18a5 (diff)
parent2a7cf59fc92ce322671bb687e2941275dd23d1c5 (diff)
downloadmariadb-git-0e69c252a17e6b5753079bc6313f2b7ac6fe1e66.tar.gz
Merge rurik.mysql.com:/home/igor/mysql-5.0-opt
into rurik.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug21727 mysql-test/r/subselect.result: Auto merged mysql-test/t/subselect.test: Auto merged sql/filesort.cc: Auto merged sql/item_subselect.h: Auto merged sql/mysql_priv.h: Auto merged sql/records.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_show.cc: Auto merged sql/sql_table.cc: Auto merged sql/table.cc: Auto merged
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 9410dbc465e..0c6ba055096 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -117,6 +117,7 @@ public:
single select and union subqueries only.
*/
bool is_evaluated() const;
+ bool is_uncacheable() const;
/*
Used by max/min subquery to initialize value presence registration
@@ -482,3 +483,9 @@ inline bool Item_subselect::is_evaluated() const
return engine->is_executed();
}
+inline bool Item_subselect::is_uncacheable() const
+{
+ return engine->uncacheable();
+}
+
+