1'#---------------------BS_STVARS_048_01----------------------#'
2SELECT COUNT(@@GLOBAL.ssl_cipher);
3COUNT(@@GLOBAL.ssl_cipher)
40
50 Expected
6'#---------------------BS_STVARS_048_02----------------------#'
7SET @@GLOBAL.ssl_cipher=1;
8ERROR HY000: Variable 'ssl_cipher' is a read only variable
9Expected error 'Read only variable'
10SELECT COUNT(@@GLOBAL.ssl_cipher);
11COUNT(@@GLOBAL.ssl_cipher)
120
130 Expected
14'#---------------------BS_STVARS_048_03----------------------#'
15SELECT @@GLOBAL.ssl_cipher = VARIABLE_VALUE
16FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
17WHERE VARIABLE_NAME='ssl_cipher';
18@@GLOBAL.ssl_cipher = VARIABLE_VALUE
19NULL
201 Expected
21SELECT COUNT(@@GLOBAL.ssl_cipher);
22COUNT(@@GLOBAL.ssl_cipher)
230
240 Expected
25SELECT COUNT(VARIABLE_VALUE)
26FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
27WHERE VARIABLE_NAME='ssl_cipher';
28COUNT(VARIABLE_VALUE)
291
301 Expected
31'#---------------------BS_STVARS_048_04----------------------#'
32SELECT @@ssl_cipher = @@GLOBAL.ssl_cipher;
33@@ssl_cipher = @@GLOBAL.ssl_cipher
34NULL
351 Expected
36'#---------------------BS_STVARS_048_05----------------------#'
37SELECT COUNT(@@ssl_cipher);
38COUNT(@@ssl_cipher)
390
400 Expected
41SELECT COUNT(@@local.ssl_cipher);
42ERROR HY000: Variable 'ssl_cipher' is a GLOBAL variable
43Expected error 'Variable is a GLOBAL variable'
44SELECT COUNT(@@SESSION.ssl_cipher);
45ERROR HY000: Variable 'ssl_cipher' is a GLOBAL variable
46Expected error 'Variable is a GLOBAL variable'
47SELECT COUNT(@@GLOBAL.ssl_cipher);
48COUNT(@@GLOBAL.ssl_cipher)
490
500 Expected
51SELECT ssl_cipher = @@SESSION.ssl_cipher;
52ERROR 42S22: Unknown column 'ssl_cipher' in 'field list'
53Expected error 'Readonly variable'
54