summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_math.result
diff options
context:
space:
mode:
authorSergey Glukhov <Sergey.Glukhov@sun.com>2009-06-02 12:00:37 +0500
committerSergey Glukhov <Sergey.Glukhov@sun.com>2009-06-02 12:00:37 +0500
commit9800aa29e3308f43682ec3469b5e783883fd589b (patch)
treeb8b717274fcaa61b9c8b0968f2a1d0656b2f630e /mysql-test/r/func_math.result
parent13f7a81b3781c7e5496874641d35e5b20ff81635 (diff)
parent83ec6e05926e28a17a3576fa99545f79f5ce8a8c (diff)
downloadmariadb-git-9800aa29e3308f43682ec3469b5e783883fd589b.tar.gz
5.0-bugteam->5.1-bugteam merge
Diffstat (limited to 'mysql-test/r/func_math.result')
-rw-r--r--mysql-test/r/func_math.result7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/r/func_math.result b/mysql-test/r/func_math.result
index 9bc83087232..fd7ef72409e 100644
--- a/mysql-test/r/func_math.result
+++ b/mysql-test/r/func_math.result
@@ -437,6 +437,13 @@ a ROUND(a)
-1e+16 -10000000000000002
1e+16 10000000000000002
DROP TABLE t1;
+CREATE TABLE t1(f1 LONGTEXT) engine=myisam;
+INSERT INTO t1 VALUES ('a');
+SELECT 1 FROM (SELECT ROUND(f1) AS a FROM t1) AS s WHERE a LIKE 'a';
+1
+SELECT 1 FROM (SELECT ROUND(f1, f1) AS a FROM t1) AS s WHERE a LIKE 'a';
+1
+DROP TABLE t1;
End of 5.0 tests
SELECT 1e308 + 1e308;
1e308 + 1e308