summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition.test
diff options
context:
space:
mode:
authormikael@dator5.(none) <>2006-06-21 20:55:33 -0400
committermikael@dator5.(none) <>2006-06-21 20:55:33 -0400
commita8e6967c02784c566dd2dee02fca0c9a0cba3fd3 (patch)
tree229d58cb6bd73929cf19bc60f149f7fb89bbe9e6 /mysql-test/t/partition.test
parentcd93441a0adebc169228068e83bf382c087bec73 (diff)
downloadmariadb-git-a8e6967c02784c566dd2dee02fca0c9a0cba3fd3.tar.gz
BUG#17138: Error in stored procedure
Review comments
Diffstat (limited to 'mysql-test/t/partition.test')
-rw-r--r--mysql-test/t/partition.test8
1 files changed, 6 insertions, 2 deletions
diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test
index d5ce7c5b797..8cfcc059920 100644
--- a/mysql-test/t/partition.test
+++ b/mysql-test/t/partition.test
@@ -1202,6 +1202,8 @@ drop database db99;
#
#BUG 17138 Problem with stored procedure and analyze partition
#
+drop procedure mysqltest_1 if exists;
+
create table t1 (a int)
partition by list (a)
(partition p0 values in (0));
@@ -1209,7 +1211,7 @@ partition by list (a)
insert into t1 values (0);
delimiter //;
-create procedure po ()
+create procedure mysqltest_1 ()
begin
begin
declare continue handler for sqlexception begin end;
@@ -1219,7 +1221,9 @@ begin
execute stmt1;
end//
-call po()//
+call mysqltest_1()//
delimiter ;//
drop table t1;
+drop procedure mysqltest_1;
+
--echo End of 5.1 tests