diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-07-05 15:23:22 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2016-07-05 15:23:22 +0400 |
commit | d1b25890745a140446e4bdd5fd4f489ce1f76fae (patch) | |
tree | 14a0655fc322417cb6debbe4abc929a135cd6375 | |
parent | 1ec91803aca76c999d34d9f17938b976093cb67a (diff) | |
download | mariadb-git-d1b25890745a140446e4bdd5fd4f489ce1f76fae.tar.gz |
Removing class Item_func_integer. It's not used since MySQL-5.0.
-rw-r--r-- | sql/item_func.cc | 9 | ||||
-rw-r--r-- | sql/item_func.h | 7 |
2 files changed, 0 insertions, 16 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index 0d21183cac8..47ad756144a 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -2313,15 +2313,6 @@ longlong Item_func_bit_neg::val_int() // Conversion functions -void Item_func_integer::fix_length_and_dec() -{ - max_length=args[0]->max_length - args[0]->decimals+1; - uint tmp=float_length(decimals); - set_if_smaller(max_length,tmp); - decimals=0; -} - - void Item_func_int_val::fix_length_and_dec() { DBUG_ENTER("Item_func_int_val::fix_length_and_dec"); diff --git a/sql/item_func.h b/sql/item_func.h index 47af2a3f898..4a55bd68453 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -949,13 +949,6 @@ public: const char *func_name() const { return "cot"; } }; -class Item_func_integer :public Item_int_func -{ -public: - inline Item_func_integer(THD *thd, Item *a): Item_int_func(thd, a) {} - void fix_length_and_dec(); -}; - class Item_func_int_val :public Item_func_num1 { |