| 1 |
--source include/have_mutex_deadlock_detector.inc |
| 2 |
|
| 3 |
# bool readonly |
| 4 |
|
| 5 |
# |
| 6 |
# show the global and session values; |
| 7 |
# |
| 8 |
select @@global.debug_mutex_deadlock_detector; |
| 9 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 10 |
select @@session.debug_mutex_deadlock_detector; |
| 11 |
show global variables like 'debug_mutex_deadlock_detector'; |
| 12 |
show session variables like 'debug_mutex_deadlock_detector'; |
| 13 |
select * from information_schema.global_variables where variable_name='debug_mutex_deadlock_detector'; |
| 14 |
select * from information_schema.session_variables where variable_name='debug_mutex_deadlock_detector'; |
| 15 |
|
| 16 |
# |
| 17 |
# show that it's read-only |
| 18 |
# |
| 19 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 20 |
set global debug_mutex_deadlock_detector=1; |
| 21 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 22 |
set session debug_mutex_deadlock_detector=1; |
| 23 |
|