summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2006-11-01 14:50:14 -0800
committerigor@rurik.mysql.com <>2006-11-01 14:50:14 -0800
commit79abdb38f89913041c52cbacfb225cec5ec4cc4a (patch)
tree21a8ce870c8dc48dc38623d1004a608f26e8b280 /sql/item_subselect.h
parentd778401633ecf95029e19f0212bd7a3e865c018b (diff)
parent2a7acba7e10197ec4a651ae828ff51c0a2ff4747 (diff)
downloadmariadb-git-79abdb38f89913041c52cbacfb225cec5ec4cc4a.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
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();
+}
+
+