Moving implementation of Item_hybrid_func::fix_attributes() from item_cmpfunc.cc to item_func.cc
This commit is contained in:
parent
45730fb11e
commit
64e63131f8
@ -3315,14 +3315,6 @@ my_decimal *Item_func_coalesce::decimal_op(my_decimal *decimal_value)
|
||||
}
|
||||
|
||||
|
||||
bool Item_hybrid_func::fix_attributes(Item **items, uint nitems)
|
||||
{
|
||||
bool rc= Item_hybrid_func::type_handler()->
|
||||
Item_hybrid_func_fix_attributes(current_thd, this, items, nitems);
|
||||
DBUG_ASSERT(!rc || current_thd->is_error());
|
||||
return rc;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
Classes and function for the IN operator
|
||||
****************************************************************************/
|
||||
|
@ -543,6 +543,15 @@ my_decimal *Item_func::val_decimal(my_decimal *decimal_value)
|
||||
}
|
||||
|
||||
|
||||
bool Item_hybrid_func::fix_attributes(Item **items, uint nitems)
|
||||
{
|
||||
bool rc= Item_hybrid_func::type_handler()->
|
||||
Item_hybrid_func_fix_attributes(current_thd, this, items, nitems);
|
||||
DBUG_ASSERT(!rc || current_thd->is_error());
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
String *Item_real_func::val_str(String *str)
|
||||
{
|
||||
DBUG_ASSERT(fixed == 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user