diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-05-17 12:59:07 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-05-17 12:59:07 +0400 |
commit | 896c2c73a02c7e82299b00e66ee3ff5f85aa3adc (patch) | |
tree | b51a6b87f0d2488845144be585275c8cac19a1ed /sql/item_cmpfunc.h | |
parent | 6378c95ee07cccc2f2187b2caddc4496e14827d9 (diff) | |
parent | fba7fbbc5c7bb1d05488108a29b854ee8ef0066a (diff) | |
download | mariadb-git-10.3-MDEV-10953.tar.gz |
Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.310.3-MDEV-10953
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index affba859725..6d604b3a2fc 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -1009,7 +1009,6 @@ protected: if (!aggregate_for_result(func_name(), items, 2, true)) fix_attributes(items, 2); } - uint decimal_precision2(Item **args) const; void cache_type_info(const Item *source, bool maybe_null_arg) { @@ -1064,10 +1063,6 @@ public: const char *func_name() const { return "ifnull"; } table_map not_null_tables() const { return 0; } - uint decimal_precision() const - { - return Item_func_case_abbreviation2::decimal_precision2(args); - } Item *get_copy(THD *thd, MEM_ROOT *mem_root) { return get_item_copy<Item_func_ifnull>(thd, mem_root, this); } }; @@ -1128,10 +1123,6 @@ public: { fix_length_and_dec2_eliminate_null(args + 1); } - uint decimal_precision() const - { - return Item_func_case_abbreviation2::decimal_precision2(args + 1); - } const char *func_name() const { return "if"; } bool eval_not_null_tables(void *opt_arg); void fix_after_pullout(st_select_lex *new_parent, Item **ref); @@ -1156,10 +1147,6 @@ public: { fix_length_and_dec2_eliminate_null(args + 1); } - uint decimal_precision() const - { - return Item_func_case_abbreviation2::decimal_precision2(args + 1); - } Item *get_copy(THD *thd, MEM_ROOT *mem_root) { return get_item_copy<Item_func_nvl2>(thd, mem_root, this); } }; @@ -1219,7 +1206,6 @@ public: my_decimal *decimal_op(my_decimal *); void fix_length_and_dec(); bool walk(Item_processor processor, bool walk_subquery, void *arg); - uint decimal_precision() const { return args[2]->decimal_precision(); } const char *func_name() const { return "nullif"; } void print(String *str, enum_query_type query_type); void split_sum_func(THD *thd, Ref_ptr_array ref_pointer_array, @@ -2056,7 +2042,6 @@ public: bool date_op(MYSQL_TIME *ltime, uint fuzzydate); bool fix_fields(THD *thd, Item **ref); void fix_length_and_dec(); - uint decimal_precision() const; table_map not_null_tables() const { return 0; } const char *func_name() const { return "case"; } enum precedence precedence() const { return BETWEEN_PRECEDENCE; } |