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