Fix for valgrind bug in decimal code

This commit is contained in:
hf@deer.(none) 2005-05-13 14:29:30 +05:00
parent 441379ceab
commit 3dbe7fb2ca

View file

@ -1255,8 +1255,8 @@ void Item_func_div::result_precision()
void Item_func_div::fix_length_and_dec()
{
DBUG_ENTER("Item_func_div::fix_length_and_dec");
Item_num_op::fix_length_and_dec();
prec_increment= current_thd->variables.div_precincrement;
Item_num_op::fix_length_and_dec();
switch(hybrid_type) {
case REAL_RESULT:
{