| 1 |
select @@global.debug_mutex_deadlock_detector; |
| 2 |
@@global.debug_mutex_deadlock_detector |
| 3 |
1 |
| 4 |
select @@session.debug_mutex_deadlock_detector; |
| 5 |
ERROR HY000: Variable 'debug_mutex_deadlock_detector' is a GLOBAL variable |
| 6 |
show global variables like 'debug_mutex_deadlock_detector'; |
| 7 |
Variable_name Value |
| 8 |
debug_mutex_deadlock_detector ON |
| 9 |
show session variables like 'debug_mutex_deadlock_detector'; |
| 10 |
Variable_name Value |
| 11 |
debug_mutex_deadlock_detector ON |
| 12 |
select * from information_schema.global_variables where variable_name='debug_mutex_deadlock_detector'; |
| 13 |
VARIABLE_NAME VARIABLE_VALUE |
| 14 |
DEBUG_MUTEX_DEADLOCK_DETECTOR ON |
| 15 |
select * from information_schema.session_variables where variable_name='debug_mutex_deadlock_detector'; |
| 16 |
VARIABLE_NAME VARIABLE_VALUE |
| 17 |
DEBUG_MUTEX_DEADLOCK_DETECTOR ON |
| 18 |
set global debug_mutex_deadlock_detector=1; |
| 19 |
ERROR HY000: Variable 'debug_mutex_deadlock_detector' is a read only variable |
| 20 |
set session debug_mutex_deadlock_detector=1; |
| 21 |
ERROR HY000: Variable 'debug_mutex_deadlock_detector' is a read only variable |