summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_math.test
diff options
context:
space:
mode:
authorunknown <ram@gw.mysql.r18.ru>2004-12-20 13:47:38 +0400
committerunknown <ram@gw.mysql.r18.ru>2004-12-20 13:47:38 +0400
commitf06f81610071b4f13352230d829f8bf03ac97117 (patch)
treedd0a3f49fc7ab81f955a8db5b6daeb55c9c25e2e /mysql-test/t/func_math.test
parent6cbcd3423afd72961d7f04c5536426ba92e24db8 (diff)
downloadmariadb-git-f06f81610071b4f13352230d829f8bf03ac97117.tar.gz
A fix (bug #7281: RAND(RAND) crashes server).
Diffstat (limited to 'mysql-test/t/func_math.test')
-rw-r--r--mysql-test/t/func_math.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/func_math.test b/mysql-test/t/func_math.test
index e58c097b5a6..668aefc2d8d 100644
--- a/mysql-test/t/func_math.test
+++ b/mysql-test/t/func_math.test
@@ -51,3 +51,10 @@ SELECT ASIN(1.2-0.2);
#select floor(log(16)/log(2));
explain extended select degrees(pi()),radians(360);
+
+#
+# Bug #7281: problem with rand()
+#
+
+--error 1054
+select rand(rand);