summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorunknown <ramil@mysql.com>2005-04-27 19:00:27 +0500
committerunknown <ramil@mysql.com>2005-04-27 19:00:27 +0500
commitfeff6b6a59780a22c9029d40ef72e5b2de4d90e0 (patch)
treea7a3628ba88991bfd0f42765f1461c73b3b1bb92 /mysql-test/t
parent05bfcf65a5b93ec8de46c224c1240695b3bf8165 (diff)
parent77d8d716b4ea5a3b19ab723725550ac4441548c7 (diff)
downloadmariadb-git-feff6b6a59780a22c9029d40ef72e5b2de4d90e0.tar.gz
merging
ndb/src/ndbapi/ndberror.c: Auto merged sql/item_func.cc: ul used, as hf said he has a patch for this code.
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/func_math.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/func_math.test b/mysql-test/t/func_math.test
index 668aefc2d8d..4c24dae8c5d 100644
--- a/mysql-test/t/func_math.test
+++ b/mysql-test/t/func_math.test
@@ -2,6 +2,10 @@
# Test of math functions
#
+--disable_warnings
+drop table if exists t1;
+--enable_warnings
+
select floor(5.5),floor(-5.5);
explain extended select floor(5.5),floor(-5.5);
select ceiling(5.5),ceiling(-5.5);
@@ -58,3 +62,12 @@ explain extended select degrees(pi()),radians(360);
--error 1054
select rand(rand);
+
+#
+# Bug #9837: problem with round()
+#
+
+create table t1 select round(1, 6);
+show create table t1;
+select * from t1;
+drop table t1;