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/t/func_math.test | |
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/t/func_math.test')
-rw-r--r-- | mysql-test/t/func_math.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/func_math.test b/mysql-test/t/func_math.test index b21f38052b6..03057af6911 100644 --- a/mysql-test/t/func_math.test +++ b/mysql-test/t/func_math.test @@ -79,3 +79,8 @@ insert into t1 values(7,1234567890123456.12345); select format(col2,6) from t1 where col1=7; drop table t1; + +# +# Bug #10083 (round doesn't increase decimals) +# +select round(150, 2); |