|
|
|
@ -5,19 +5,19 @@ |
|
|
|
# |
|
|
|
# show the global and session values; |
|
|
|
# |
|
|
|
select @@global.mutex_deadlock_detector; |
|
|
|
select @@global.debug_mutex_deadlock_detector; |
|
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
|
|
|
select @@session.mutex_deadlock_detector; |
|
|
|
show global variables like 'mutex_deadlock_detector'; |
|
|
|
show session variables like 'mutex_deadlock_detector'; |
|
|
|
select * from information_schema.global_variables where variable_name='mutex_deadlock_detector'; |
|
|
|
select * from information_schema.session_variables where variable_name='mutex_deadlock_detector'; |
|
|
|
select @@session.debug_mutex_deadlock_detector; |
|
|
|
show global variables like 'debug_mutex_deadlock_detector'; |
|
|
|
show session variables like 'debug_mutex_deadlock_detector'; |
|
|
|
select * from information_schema.global_variables where variable_name='debug_mutex_deadlock_detector'; |
|
|
|
select * from information_schema.session_variables where variable_name='debug_mutex_deadlock_detector'; |
|
|
|
|
|
|
|
# |
|
|
|
# show that it's read-only |
|
|
|
# |
|
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
|
|
|
set global mutex_deadlock_detector=1; |
|
|
|
set global debug_mutex_deadlock_detector=1; |
|
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
|
|
|
set session mutex_deadlock_detector=1; |
|
|
|
set session debug_mutex_deadlock_detector=1; |
|
|
|
|