diff options
author | Alexey Botchkov <holyfoot@mysql.com> | 2008-09-30 10:41:30 +0500 |
---|---|---|
committer | Alexey Botchkov <holyfoot@mysql.com> | 2008-09-30 10:41:30 +0500 |
commit | b8734a1ce2d835729ffaf0058aaf75275c88aaca (patch) | |
tree | 8a16772a4457293b0a451ce254d10697da8c8b7d /mysql-test/t/sp-error.test | |
parent | 1e26e74c2a7192e4b8c94210b1e9829f7e53b2f1 (diff) | |
parent | ce64a16b75746848c8d5a89cfb726a38691c9d6f (diff) | |
download | mariadb-git-b8734a1ce2d835729ffaf0058aaf75275c88aaca.tar.gz |
merging
Diffstat (limited to 'mysql-test/t/sp-error.test')
-rw-r--r-- | mysql-test/t/sp-error.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/sp-error.test b/mysql-test/t/sp-error.test index 1e329f7fe79..5437f3a156f 100644 --- a/mysql-test/t/sp-error.test +++ b/mysql-test/t/sp-error.test @@ -2362,6 +2362,14 @@ begin end loop; end| +CREATE TABLE t1 (a INT)| +INSERT INTO t1 VALUES (1),(2)| +CREATE PROCEDURE p1(a INT) BEGIN END| +--error ER_SUBQUERY_NO_1_ROW +CALL p1((SELECT * FROM t1))| +DROP PROCEDURE IF EXISTS p1| +DROP TABLE t1| + delimiter ;| # |