Commit d1b25890 authored by Alexander Barkov's avatar Alexander Barkov

Removing class Item_func_integer. It's not used since MySQL-5.0.

parent 1ec91803
...@@ -2313,15 +2313,6 @@ longlong Item_func_bit_neg::val_int() ...@@ -2313,15 +2313,6 @@ longlong Item_func_bit_neg::val_int()
// Conversion functions // 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() void Item_func_int_val::fix_length_and_dec()
{ {
DBUG_ENTER("Item_func_int_val::fix_length_and_dec"); DBUG_ENTER("Item_func_int_val::fix_length_and_dec");
......
...@@ -949,13 +949,6 @@ class Item_func_cot :public Item_dec_func ...@@ -949,13 +949,6 @@ class Item_func_cot :public Item_dec_func
const char *func_name() const { return "cot"; } 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 class Item_func_int_val :public Item_func_num1
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment