Debian Codegraph @

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

raw
1 '#---------------------BS_STVARS_046_01----------------------#'
2 SELECT COUNT(@@GLOBAL.ssl_capath);
3 COUNT(@@GLOBAL.ssl_capath)
4 0
5 0 Expected
6 '#---------------------BS_STVARS_046_02----------------------#'
7 SET @@GLOBAL.ssl_capath=1;
8 ERROR 42000: Incorrect argument type to variable 'ssl_capath'
9 Expected error 'Read only variable'
10 SELECT COUNT(@@GLOBAL.ssl_capath);
11 COUNT(@@GLOBAL.ssl_capath)
12 0
13 0 Expected
14 '#---------------------BS_STVARS_046_03----------------------#'
15 SELECT @@GLOBAL.ssl_capath = VARIABLE_VALUE
16 FROM performance_schema.global_variables
17 WHERE VARIABLE_NAME='ssl_capath';
18 @@GLOBAL.ssl_capath = VARIABLE_VALUE
19 NULL
20 1 Expected
21 SELECT COUNT(@@GLOBAL.ssl_capath);
22 COUNT(@@GLOBAL.ssl_capath)
23 0
24 0 Expected
25 SELECT COUNT(VARIABLE_VALUE)
26 FROM performance_schema.global_variables
27 WHERE VARIABLE_NAME='ssl_capath';
28 COUNT(VARIABLE_VALUE)
29 1
30 1 Expected
31 '#---------------------BS_STVARS_046_04----------------------#'
32 SELECT @@ssl_capath = @@GLOBAL.ssl_capath;
33 @@ssl_capath = @@GLOBAL.ssl_capath
34 NULL
35 1 Expected
36 '#---------------------BS_STVARS_046_05----------------------#'
37 SELECT COUNT(@@ssl_capath);
38 COUNT(@@ssl_capath)
39 0
40 0 Expected
41 SELECT COUNT(@@local.ssl_capath);
42 ERROR HY000: Variable 'ssl_capath' is a GLOBAL variable
43 Expected error 'Variable is a GLOBAL variable'
44 SELECT COUNT(@@SESSION.ssl_capath);
45 ERROR HY000: Variable 'ssl_capath' is a GLOBAL variable
46 Expected error 'Variable is a GLOBAL variable'
47 SELECT COUNT(@@GLOBAL.ssl_capath);
48 COUNT(@@GLOBAL.ssl_capath)
49 0
50 0 Expected
51 SELECT ssl_capath;
52 ERROR 42S22: Unknown column 'ssl_capath' in 'field list'
53 Expected error 'Unknown column'