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
commit86e425fe113c8999477ec3f387f8fcf8b2d79df1 (patch)
treeb8b717274fcaa61b9c8b0968f2a1d0656b2f630e /mysql-test/r/func_math.result
parent39d0b1bd5b7c56bf2baaa156353ace1b2131bc74 (diff)
parent33734e956fb06435168ad4630515c02358871a0e (diff)
downloadmariadb-git-86e425fe113c8999477ec3f387f8fcf8b2d79df1.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