Commit 2a5f8ffe authored by petr@mysql.com's avatar petr@mysql.com

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

into mysql.com:/home/cps/mysql/trees/mysql-5.0
parents 8053dbca 2b04efe2
...@@ -1827,7 +1827,7 @@ void Item_func_round::fix_length_and_dec() ...@@ -1827,7 +1827,7 @@ void Item_func_round::fix_length_and_dec()
return; 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) if (args[0]->decimals == NOT_FIXED_DEC)
{ {
max_length= args[0]->max_length; 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