1select @@global.debug_sync;
2ERROR HY000: Variable 'debug_sync' is a SESSION variable
3select @@session.debug_sync;
4@@session.debug_sync
5ON - signals: ''
6show global variables like "debug_sync";
7Variable_name	Value
8show session variables like "debug_sync";
9Variable_name	Value
10debug_sync	ON - signals: ''
11select * from information_schema.global_variables where variable_name="debug_sync";
12VARIABLE_NAME	VARIABLE_VALUE
13select * from information_schema.session_variables where variable_name="debug_sync";
14VARIABLE_NAME	VARIABLE_VALUE
15DEBUG_SYNC	ON - signals: ''
16set @@session.debug_sync=1;
17ERROR 42000: Incorrect argument type to variable 'debug_sync'
18set @@session.debug_sync=1.1;
19ERROR 42000: Incorrect argument type to variable 'debug_sync'
20set @@session.debug_sync=1e1;
21ERROR 42000: Incorrect argument type to variable 'debug_sync'
22