diff options
author | unknown <malff/marcsql@weblab.(none)> | 2006-07-31 12:11:08 -0700 |
---|---|---|
committer | unknown <malff/marcsql@weblab.(none)> | 2006-07-31 12:11:08 -0700 |
commit | d57c41b79d972012ae76fe0b36ee31b1e97989ef (patch) | |
tree | 9cb7bf50baf1156807804a1bd1cca8d46063bacb /mysql-test/t/udf.test | |
parent | 918f9a3806f820037b55721c1ccdcf29dfcebc56 (diff) | |
parent | d251e9be4315a3bf92a0e997daf5c2c2f42588f3 (diff) | |
download | mariadb-git-d57c41b79d972012ae76fe0b36ee31b1e97989ef.tar.gz |
Merge malff@bk-internal.mysql.com:/home/bk/mysql-5.0-runtime
into weblab.(none):/home/marcsql/TREE/mysql-5.0-21269
Diffstat (limited to 'mysql-test/t/udf.test')
-rw-r--r-- | mysql-test/t/udf.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/udf.test b/mysql-test/t/udf.test index f3be08c8537..9d295d32831 100644 --- a/mysql-test/t/udf.test +++ b/mysql-test/t/udf.test @@ -109,6 +109,18 @@ SELECT myfunc_double(n) AS f FROM bug19904; SELECT metaphon(v) AS f FROM bug19904; DROP TABLE bug19904; +# +# Bug#21269: DEFINER-clause is allowed for UDF-functions +# + +--error ER_WRONG_USAGE +CREATE DEFINER=CURRENT_USER() FUNCTION should_not_parse +RETURNS STRING SONAME "should_not_parse.so"; + +--error ER_WRONG_USAGE +CREATE DEFINER=someone@somewhere FUNCTION should_not_parse +RETURNS STRING SONAME "should_not_parse.so"; + --echo End of 5.0 tests. # |