summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-05-13 17:08:24 +0400
committerAlexander Barkov <bar@mariadb.org>2015-05-13 17:08:24 +0400
commitbe2038e3cb2f37504cc2094e79beb8b1d33bc69e (patch)
tree14893eaa29370432665531fbee12e65c9fd9aff6 /sql/item_func.h
parent16b6ec2e377f8f3dcac76e8c172ed9daa797d311 (diff)
downloadmariadb-git-be2038e3cb2f37504cc2094e79beb8b1d33bc69e.tar.gz
MDEV-7950 Item_func::type() takes 0.26% in OLTP RO
Step 4 (there will be more)
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 0d57c2b779b..a5ddb248e8f 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -132,7 +132,8 @@ public:
used_tables_and_const_cache_update_and_join(arg_count, args);
}
COND *build_equal_items(THD *thd, COND_EQUAL *inherited,
- bool link_item_fields);
+ bool link_item_fields,
+ COND_EQUAL **cond_equal_ref);
bool eq(const Item *item, bool binary_cmp) const;
virtual optimize_type select_optimize() const { return OPTIMIZE_NONE; }
virtual bool have_rev_func() const { return 0; }