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