diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2008-12-29 16:15:48 +0400 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2008-12-29 16:15:48 +0400 |
commit | 39442f0903378d3a4866d09b4846f52a860abc29 (patch) | |
tree | 4abe304bbc2dd38477bd016437783452c8d4f8b8 /mysql-test/r/status.result | |
parent | bcfa0cedb26c372ed978d54d8f3d785d616132fa (diff) | |
parent | 3b617acb87bce94b6ac27e3d91017cfaa9d67b83 (diff) | |
download | mariadb-git-39442f0903378d3a4866d09b4846f52a860abc29.tar.gz |
5.0-bugteam->5.1-bugteam merge
Diffstat (limited to 'mysql-test/r/status.result')
-rw-r--r-- | mysql-test/r/status.result | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mysql-test/r/status.result b/mysql-test/r/status.result index 1e758ce68c7..78537052127 100644 --- a/mysql-test/r/status.result +++ b/mysql-test/r/status.result @@ -209,4 +209,29 @@ ERROR 42000: SELECT command denied to user 'mysqltest_1'@'localhost' for table ' drop database db37908; drop procedure proc37908; drop function func37908; +DROP PROCEDURE IF EXISTS p1; +DROP FUNCTION IF EXISTS f1; +CREATE FUNCTION f1() RETURNS INTEGER +BEGIN +DECLARE foo INTEGER; +DECLARE bar INTEGER; +SET foo=1; +SET bar=2; +RETURN foo; +END $$ +CREATE PROCEDURE p1() +BEGIN +SELECT 1; +END $$ +SELECT f1(); +f1() +1 +CALL p1(); +1 +1 +SELECT 9; +9 +9 +DROP PROCEDURE p1; +DROP FUNCTION f1; set @@global.concurrent_insert= @old_concurrent_insert; |