diff options
author | igor@rurik.mysql.com <> | 2006-11-01 14:50:14 -0800 |
---|---|---|
committer | igor@rurik.mysql.com <> | 2006-11-01 14:50:14 -0800 |
commit | 79abdb38f89913041c52cbacfb225cec5ec4cc4a (patch) | |
tree | 21a8ce870c8dc48dc38623d1004a608f26e8b280 /sql/item_subselect.h | |
parent | d778401633ecf95029e19f0212bd7a3e865c018b (diff) | |
parent | 2a7acba7e10197ec4a651ae828ff51c0a2ff4747 (diff) | |
download | mariadb-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.h | 7 |
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(); +} + + |