diff options
author | unknown <pem@mysql.com> | 2006-02-01 12:31:48 +0100 |
---|---|---|
committer | unknown <pem@mysql.com> | 2006-02-01 12:31:48 +0100 |
commit | 94d4b0017b9201569568e3a2e07d71383cb8c541 (patch) | |
tree | 173b3d3f83c28f8050176a8da6e68d08f27e1c2c /mysql-test/r | |
parent | 86733db80b223c39b0860397425b0751b258205f (diff) | |
parent | fd61a0c08dc9398c8ca902b437b068c7a8b97934 (diff) | |
download | mariadb-git-94d4b0017b9201569568e3a2e07d71383cb8c541.tar.gz |
Merge mysql.com:/extern/mysql/bk/mysql-5.0
into mysql.com:/extern/mysql/work/cantrepeat/mysql-5.0
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/sp-error.result | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mysql-test/r/sp-error.result b/mysql-test/r/sp-error.result index 8483f6dc664..2766dca5845 100644 --- a/mysql-test/r/sp-error.result +++ b/mysql-test/r/sp-error.result @@ -1147,3 +1147,32 @@ show procedure status; Db Name Type Definer Modified Created Security_type Comment test bug15658 PROCEDURE root@localhost 0000-00-00 00:00:00 0000-00-00 00:00:00 DEFINER drop procedure ` bug15658`; +drop function if exists bug14270; +drop table if exists t1; +create table t1 (s1 int primary key); +create function bug14270() returns int +begin +load index into cache t1; +return 1; +end| +ERROR 0A000: Not allowed to return a result set from a function +create function bug14270() returns int +begin +cache index t1 key (`primary`) in keycache1; +return 1; +end| +ERROR 0A000: Not allowed to return a result set from a function +drop table t1; +drop procedure if exists bug15091; +create procedure bug15091() +begin +declare selectstr varchar(6000) default ' '; +declare conditionstr varchar(5000) default ''; +set selectstr = concat(selectstr, +' and ', +c.operatorid, +'in (',conditionstr, ')'); +end| +call bug15091(); +ERROR 42S02: Unknown table 'c' in field list +drop procedure bug15091; |