From 1c6394e503876473a5c7b1fe15bb6884766b2f75 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sun, 10 Nov 2013 17:51:06 +0100 Subject: MDEV-4931 Can't use SHUTDOWN in stored programs keywords that a statement could start from can only be in the 'keyword' list, never in the 'keyword_sp' --- mysql-test/t/shutdown.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mysql-test/t/shutdown.test') diff --git a/mysql-test/t/shutdown.test b/mysql-test/t/shutdown.test index c44eb44ed8b..ac7f06b116d 100644 --- a/mysql-test/t/shutdown.test +++ b/mysql-test/t/shutdown.test @@ -13,6 +13,9 @@ connection default; disconnect c1; --connect (c1,localhost,root,,) +create procedure try_shutdown() shutdown; +drop procedure try_shutdown; + --let $_server_id= `SELECT @@server_id` --let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.$_server_id.expect --exec echo "wait" > $_expect_file_name -- cgit v1.2.1