summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2015-03-25 18:27:10 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2015-04-07 13:16:05 +0200
commitded3d706f8a6e615d2a6cfaee016e8917c0800cf (patch)
tree0adb77c0d347b922db91a7db522ad8aa7472cc45 /sql/item.h
parent0df8c0aa5ed1a6d3869783a30cbe71521cffa4e4 (diff)
downloadmariadb-git-10.1-MDEV-7811.tar.gz
MDEV-7811: EXPLAIN/ANALYZE FORMAT=JSON should show subquery cache10.1-MDEV-7811
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index 825496e3e9a..f3d3a4cf655 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -3529,6 +3529,7 @@ public:
class Item_cache;
class Expression_cache;
+class Expression_cache_stat;
/**
The objects of this class can store its values in an expression cache.
@@ -3564,6 +3565,7 @@ public:
enum Type real_type() const { return orig_item->type(); }
bool set_cache(THD *thd);
+ Expression_cache_stat* set_stat(MEM_ROOT *mem_root);
bool fix_fields(THD *thd, Item **it);
void fix_length_and_dec() {}