summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-11-27 19:30:20 +0100
committerSergei Golubchik <serg@mariadb.org>2016-12-12 20:27:24 +0100
commita721dcab8ec0ec5e89664416f8f220244867036c (patch)
treeadb066cbb42e1e3822d533a706b45f7640bd6a27 /sql/item_cmpfunc.h
parentfd0044041bf70d5d8bbb530285055da585384ff1 (diff)
downloadmariadb-git-a721dcab8ec0ec5e89664416f8f220244867036c.tar.gz
cleanup: Item_func_opt_neg::negate()
remove redundant method
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index c5c34fa9da7..8a0799b0f16 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -839,7 +839,6 @@ public:
Item_func_opt_neg(THD *thd, List<Item> &list):
Item_bool_func(thd, list), negated(0), pred_level(0) {}
public:
- inline void negate() { negated= !negated; }
inline void top_level_item() { pred_level= 1; }
bool is_top_level_item() const { return pred_level; }
Item *neg_transformer(THD *thd)