diff options
author | dkatz@damien-katzs-computer.local <> | 2007-12-11 17:30:42 -0500 |
---|---|---|
committer | dkatz@damien-katzs-computer.local <> | 2007-12-11 17:30:42 -0500 |
commit | 4abafe2617a67194d05c94eab21a6afe7d3c887b (patch) | |
tree | 7aa64364ea7cd07ed83c6b43e43add03381408bc /mysql-test/t/no-threads.test | |
parent | 8651e9dddf8276a551e5030c2a2c9f60f87b2ff9 (diff) | |
download | mariadb-git-4abafe2617a67194d05c94eab21a6afe7d3c887b.tar.gz |
Bug #30651 Problems with thread_handling system variable
Changed thread_handling variable to a global only, read only variable, as it is currently used.
Diffstat (limited to 'mysql-test/t/no-threads.test')
-rw-r--r-- | mysql-test/t/no-threads.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/no-threads.test b/mysql-test/t/no-threads.test index 31ea6406ee9..fd8365e5678 100644 --- a/mysql-test/t/no-threads.test +++ b/mysql-test/t/no-threads.test @@ -4,3 +4,13 @@ select 1+1; select 1+2; SHOW GLOBAL VARIABLES LIKE 'thread_handling'; + +# +# Bug #30651 Problems with thread_handling system variable +# + +--error ER_INCORRECT_GLOBAL_LOCAL_VAR +select @@session.thread_handling; + +--error ER_INCORRECT_GLOBAL_LOCAL_VAR +set GLOBAL thread_handling='one-thread'; |