diff options
author | unknown <gluh@eagle.intranet.mysql.r18.ru> | 2005-09-06 16:19:59 +0500 |
---|---|---|
committer | unknown <gluh@eagle.intranet.mysql.r18.ru> | 2005-09-06 16:19:59 +0500 |
commit | 61a5fac1cc0e2cddcc98db8396f06b719cfcad1a (patch) | |
tree | 53b496b95a7630be277e1e5bc00721b8d922f773 /mysql-test/r/func_math.result | |
parent | f53de1f247373f56f30238c18893d6e01bad4d95 (diff) | |
download | mariadb-git-61a5fac1cc0e2cddcc98db8396f06b719cfcad1a.tar.gz |
Bug #6172 RAND(a) should only accept constant values as arguments(2nd version)
Argument of RAND function can be constant value only
Diffstat (limited to 'mysql-test/r/func_math.result')
-rw-r--r-- | mysql-test/r/func_math.result | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/func_math.result b/mysql-test/r/func_math.result index 80b15d1d3c8..b36902d7872 100644 --- a/mysql-test/r/func_math.result +++ b/mysql-test/r/func_math.result @@ -140,3 +140,8 @@ drop table t1; select abs(-2) * -2; abs(-2) * -2 -4 +create table t1 (i int); +insert into t1 values (1); +select rand(i) from t1; +ERROR HY000: Incorrect arguments to RAND +drop table t1; |