diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-11-10 17:51:06 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-11-10 17:51:06 +0100 |
commit | 1c6394e503876473a5c7b1fe15bb6884766b2f75 (patch) | |
tree | 72f471b3edba2cdc247511eb91f8678e2cdc7eea /mysql-test/t/shutdown.test | |
parent | 5e2b5510a40732412b8ff68f352bf621683a714c (diff) | |
download | mariadb-git-1c6394e503876473a5c7b1fe15bb6884766b2f75.tar.gz |
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'
Diffstat (limited to 'mysql-test/t/shutdown.test')
-rw-r--r-- | mysql-test/t/shutdown.test | 3 |
1 files changed, 3 insertions, 0 deletions
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 |