Debian Codegraph @

mysql-test/suite/sys_vars/r/bind_address_basic.result

raw
1 '#---------------------BS_STVARS_001_01----------------------#'
2 SELECT COUNT(@@GLOBAL.bind_address);
3 COUNT(@@GLOBAL.bind_address)
4 1
5 1 Expected
6 '#---------------------BS_STVARS_001_02----------------------#'
7 SET @@GLOBAL.bind_address=1;
8 ERROR HY000: Variable 'bind_address' is a read only variable
9 Expected error 'Read only variable'
10 SELECT COUNT(@@GLOBAL.bind_address);
11 COUNT(@@GLOBAL.bind_address)
12 1
13 1 Expected
14 '#---------------------BS_STVARS_001_03----------------------#'
15 SELECT VARIABLE_VALUE = ''
16 FROM performance_schema.global_variables
17 WHERE VARIABLE_NAME='bind_address';
18 VARIABLE_VALUE = ''
19 0
20 0 Expected
21 SELECT COUNT(@@GLOBAL.bind_address);
22 COUNT(@@GLOBAL.bind_address)
23 1
24 1 Expected
25 SELECT COUNT(VARIABLE_VALUE)
26 FROM performance_schema.global_variables
27 WHERE VARIABLE_NAME='bind_address';
28 COUNT(VARIABLE_VALUE)
29 1
30 1 Expected
31 '#---------------------BS_STVARS_001_04----------------------#'
32 SELECT @@bind_address is NULL AND @@GLOBAL.bind_address is NULL;
33 @@bind_address is NULL AND @@GLOBAL.bind_address is NULL
34 0
35 0 Expected
36 SELECT @@bind_address is NOT NULL AND @@GLOBAL.bind_address is NOT NULL;
37 @@bind_address is NOT NULL AND @@GLOBAL.bind_address is NOT NULL
38 1
39 1 Expected
40 '#---------------------BS_STVARS_001_05----------------------#'
41 SELECT COUNT(@@bind_address);
42 COUNT(@@bind_address)
43 1
44 1 Expected
45 SELECT COUNT(@@local.bind_address);
46 ERROR HY000: Variable 'bind_address' is a GLOBAL variable
47 Expected error 'Variable is a GLOBAL variable'
48 SELECT COUNT(@@SESSION.bind_address);
49 ERROR HY000: Variable 'bind_address' is a GLOBAL variable
50 Expected error 'Variable is a GLOBAL variable'
51 SELECT COUNT(@@GLOBAL.bind_address);
52 COUNT(@@GLOBAL.bind_address)
53 1
54 1 Expected
55 SELECT bind_address;
56 ERROR 42S22: Unknown column 'bind_address' in 'field list'
57 Expected error 'Unknown column'