1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Bug #6172 RAND(a) should only accept constant values as arguments(2nd version)

Argument of RAND function can be constant value only
This commit is contained in:
gluh@eagle.intranet.mysql.r18.ru
2005-09-06 16:19:59 +05:00
parent 7f91ddcd88
commit a5bd5e9af2
5 changed files with 43 additions and 28 deletions

View File

@ -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;