polardbxengine/mysql-test/suite/xengine_main/r/server_offline_debug.result

16 lines
653 B
Plaintext

#
# BUG#28761869 - LOCK_ORDER: DEADLOCK INVOLVING LOCK_OFFLINE_MODE.
#
SET @global_saved_tmp = @@global.offline_mode;
SET DEBUG_SYNC='after_lock_offline_mode_acquire SIGNAL lock_offline_mode_acquired WAIT_FOR lock_thd_data_acquired';
SET GLOBAL offline_mode=ON;;
SET DEBUG_SYNC='now WAIT_FOR lock_offline_mode_acquired';
SET DEBUG_SYNC='materialize_session_variable_array_THD_locked SIGNAL lock_thd_data_acquired';
SHOW VARIABLES LIKE 'offline_mode';;
# reaping execution status for SET GLOBAL offline_mode=ON;
Variable_name Value
offline_mode ON
SET DEBUG_SYNC='RESET';
# Restoring the original values.
SET @@global.offline_mode = @global_saved_tmp;