Commit e7a12485 authored by unknown's avatar unknown

Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0

into mysql.com:/home/cps/mysql/trees/mysql-5.0
parents 7c045234 3411bcb3
......@@ -1827,7 +1827,7 @@ void Item_func_round::fix_length_and_dec()
return;
}
int decimals_to_set= max(args[1]->val_int(), 0);
int decimals_to_set= max((int)args[1]->val_int(), 0);
if (args[0]->decimals == NOT_FIXED_DEC)
{
max_length= args[0]->max_length;
......
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