| 1 |
set session debug_dbug="L"; |
| 2 |
select @@global.debug_dbug="1"; |
| 3 |
@@global.debug_dbug="1" |
| 4 |
0 |
| 5 |
select @@session.debug_dbug; |
| 6 |
@@session.debug_dbug |
| 7 |
L |
| 8 |
show global variables like 'debug_dbug'; |
| 9 |
Variable_name Value |
| 10 |
debug_dbug # |
| 11 |
show session variables like 'debug_dbug'; |
| 12 |
Variable_name Value |
| 13 |
debug_dbug L |
| 14 |
select * from information_schema.global_variables where variable_name='debug_dbug'; |
| 15 |
VARIABLE_NAME VARIABLE_VALUE |
| 16 |
DEBUG_DBUG # |
| 17 |
select * from information_schema.session_variables where variable_name='debug_dbug'; |
| 18 |
VARIABLE_NAME VARIABLE_VALUE |
| 19 |
DEBUG_DBUG L |
| 20 |
set @@global.debug_dbug=1; |
| 21 |
ERROR 42000: Incorrect argument type to variable 'debug_dbug' |
| 22 |
set @@global.debug_dbug=1.1; |
| 23 |
ERROR 42000: Incorrect argument type to variable 'debug_dbug' |
| 24 |
set @@global.debug_dbug=1e1; |
| 25 |
ERROR 42000: Incorrect argument type to variable 'debug_dbug' |