Skip to content

Commit d1b2589

Browse files
author
Alexander Barkov
committed
Removing class Item_func_integer. It's not used since MySQL-5.0.
1 parent 1ec9180 commit d1b2589

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

sql/item_func.cc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2313,15 +2313,6 @@ longlong Item_func_bit_neg::val_int()
23132313

23142314
// Conversion functions
23152315

2316-
void Item_func_integer::fix_length_and_dec()
2317-
{
2318-
max_length=args[0]->max_length - args[0]->decimals+1;
2319-
uint tmp=float_length(decimals);
2320-
set_if_smaller(max_length,tmp);
2321-
decimals=0;
2322-
}
2323-
2324-
23252316
void Item_func_int_val::fix_length_and_dec()
23262317
{
23272318
DBUG_ENTER("Item_func_int_val::fix_length_and_dec");

sql/item_func.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -949,13 +949,6 @@ class Item_func_cot :public Item_dec_func
949949
const char *func_name() const { return "cot"; }
950950
};
951951

952-
class Item_func_integer :public Item_int_func
953-
{
954-
public:
955-
inline Item_func_integer(THD *thd, Item *a): Item_int_func(thd, a) {}
956-
void fix_length_and_dec();
957-
};
958-
959952

960953
class Item_func_int_val :public Item_func_num1
961954
{

0 commit comments

Comments
 (0)