summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-05-14 17:42:40 +0400
committerAlexander Barkov <bar@mariadb.org>2015-05-14 17:42:40 +0400
commit632f2307f775d255bab948de2178feb85fcac970 (patch)
tree6f1e67f8c41d13e3a4c2e67124ae37037f78c6fe /sql/sql_select.h
parentfb3e9352a42338f4221caa7e0cb6c6f62eb9f2be (diff)
downloadmariadb-git-632f2307f775d255bab948de2178feb85fcac970.tar.gz
MDEV-7950 Item_func::type() takes 0.26% in OLTP RO
Step#5: changing the function remove_eq_conds() into a virtual method in Item. It removes 6 virtual calls for Item_func::type(), and adds only 2 virtual calls for Item***::remove_eq_conds().
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index 66789ee7730..2c8723363cc 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -1803,7 +1803,6 @@ bool cp_buffer_from_ref(THD *thd, TABLE *table, TABLE_REF *ref);
bool error_if_full_join(JOIN *join);
int report_error(TABLE *table, int error);
int safe_index_read(JOIN_TAB *tab);
-COND *remove_eq_conds(THD *thd, COND *cond, Item::cond_result *cond_value);
int get_quick_record(SQL_SELECT *select);
SORT_FIELD * make_unireg_sortorder(THD *thd, ORDER *order, uint *length,
SORT_FIELD *sortorder);