1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

cleanup: Item_func_opt_neg::negate()

remove redundant method
This commit is contained in:
Sergei Golubchik
2016-11-27 19:30:20 +01:00
parent fd0044041b
commit a721dcab8e
2 changed files with 2 additions and 5 deletions

View File

@@ -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)