Commit 5d59a7b6 authored by Monty's avatar Monty

Fixed compile error on windows

parent 385ee993
......@@ -2474,7 +2474,7 @@ my_decimal *Item_func_round::decimal_op(my_decimal *decimal_value)
dec= INT_MIN;
if (!(null_value= (value.is_null() || args[1]->null_value ||
value.round_to(decimal_value, dec,
value.round_to(decimal_value, (uint) dec,
truncate ? TRUNCATE : HALF_UP) > 1)))
return decimal_value;
return 0;
......
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