diff options
author | unknown <holyfoot@hf-ibm.(none)> | 2005-06-09 15:27:26 +0500 |
---|---|---|
committer | unknown <holyfoot@hf-ibm.(none)> | 2005-06-09 15:27:26 +0500 |
commit | 146893a7a0b632d8fcb90e391c788dc34db84bef (patch) | |
tree | f7fd6a2ddedc1afbd30f51cf56908d74ec42b8e0 /mysql-test/r/func_math.result | |
parent | 7073dda6208ba26b23f69a95d7bb002932938275 (diff) | |
download | mariadb-git-146893a7a0b632d8fcb90e391c788dc34db84bef.tar.gz |
Fix for bug #10083 (round doesn't increase scale)
mysql-test/r/func_math.result:
test result fixed
mysql-test/t/func_math.test:
test case added
sql/item_func.cc:
now we always use decimals_to_set
Diffstat (limited to 'mysql-test/r/func_math.result')
-rw-r--r-- | mysql-test/r/func_math.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/func_math.result b/mysql-test/r/func_math.result index e4889289c18..c7674c57c8d 100644 --- a/mysql-test/r/func_math.result +++ b/mysql-test/r/func_math.result @@ -143,3 +143,6 @@ select format(col2,6) from t1 where col1=7; format(col2,6) 1,234,567,890,123,456.123450 drop table t1; +select round(150, 2); +round(150, 2) +150.00 |