1'#---------------------BS_STVARS_013_01----------------------#'
2SELECT COUNT(@@GLOBAL.have_openssl);
3COUNT(@@GLOBAL.have_openssl)
41
51 Expected
6'#---------------------BS_STVARS_013_02----------------------#'
7SET @@GLOBAL.have_openssl=1;
8ERROR HY000: Variable 'have_openssl' is a read only variable
9Expected error 'Read only variable'
10SELECT COUNT(@@GLOBAL.have_openssl);
11COUNT(@@GLOBAL.have_openssl)
121
131 Expected
14'#---------------------BS_STVARS_013_03----------------------#'
15SELECT @@GLOBAL.have_openssl = VARIABLE_VALUE
16FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
17WHERE VARIABLE_NAME='have_openssl';
18@@GLOBAL.have_openssl = VARIABLE_VALUE
191
201 Expected
21SELECT COUNT(@@GLOBAL.have_openssl);
22COUNT(@@GLOBAL.have_openssl)
231
241 Expected
25SELECT COUNT(VARIABLE_VALUE)
26FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
27WHERE VARIABLE_NAME='have_openssl';
28COUNT(VARIABLE_VALUE)
291
301 Expected
31'#---------------------BS_STVARS_013_04----------------------#'
32SELECT @@have_openssl = @@GLOBAL.have_openssl;
33@@have_openssl = @@GLOBAL.have_openssl
341
351 Expected
36'#---------------------BS_STVARS_013_05----------------------#'
37SELECT COUNT(@@have_openssl);
38COUNT(@@have_openssl)
391
401 Expected
41SELECT COUNT(@@local.have_openssl);
42ERROR HY000: Variable 'have_openssl' is a GLOBAL variable
43Expected error 'Variable is a GLOBAL variable'
44SELECT COUNT(@@SESSION.have_openssl);
45ERROR HY000: Variable 'have_openssl' is a GLOBAL variable
46Expected error 'Variable is a GLOBAL variable'
47SELECT COUNT(@@GLOBAL.have_openssl);
48COUNT(@@GLOBAL.have_openssl)
491
501 Expected
51SELECT have_openssl = @@SESSION.have_openssl;
52ERROR 42S22: Unknown column 'have_openssl' in 'field list'
53Expected error 'Readonly variable'
54