Debian Codegraph @

mysql-test/suite/sys_vars/t/debug_dbug_basic.test

raw
1 --source include/have_debug.inc
2 #
3 # exists both as global and session
4 #
5 set session debug_dbug="L";
6
7 select @@global.debug_dbug="1"; # just to show that global.debug_dbug exists
8 select @@session.debug_dbug; # here we know the value and can display it
9 --replace_column 2 #
10 show global variables like 'debug_dbug';
11 show session variables like 'debug_dbug';
12 --replace_column 2 #
13 select * from information_schema.global_variables where variable_name='debug_dbug';
14 select * from information_schema.session_variables where variable_name='debug_dbug';
15
16 --error ER_WRONG_TYPE_FOR_VAR
17 set @@global.debug_dbug=1;
18 --error ER_WRONG_TYPE_FOR_VAR
19 set @@global.debug_dbug=1.1;
20 --error ER_WRONG_TYPE_FOR_VAR
21 set @@global.debug_dbug=1e1;
22