| 1 |
'#---------------------BS_STVARS_035_01----------------------#' |
| 2 |
SELECT COUNT(@@GLOBAL.innodb_use_native_aio); |
| 3 |
COUNT(@@GLOBAL.innodb_use_native_aio) |
| 4 |
1 |
| 5 |
1 Expected |
| 6 |
'#---------------------BS_STVARS_035_02----------------------#' |
| 7 |
SET @@GLOBAL.innodb_use_native_aio=1; |
| 8 |
ERROR HY000: Variable 'innodb_use_native_aio' is a read only variable |
| 9 |
Expected error 'Read only variable' |
| 10 |
SELECT COUNT(@@GLOBAL.innodb_use_native_aio); |
| 11 |
COUNT(@@GLOBAL.innodb_use_native_aio) |
| 12 |
1 |
| 13 |
1 Expected |
| 14 |
'#---------------------BS_STVARS_035_03----------------------#' |
| 15 |
SELECT IF(@@GLOBAL.innodb_use_native_aio, 'ON', 'OFF') = VARIABLE_VALUE |
| 16 |
FROM performance_schema.global_variables |
| 17 |
WHERE VARIABLE_NAME='innodb_use_native_aio'; |
| 18 |
IF(@@GLOBAL.innodb_use_native_aio, 'ON', 'OFF') = VARIABLE_VALUE |
| 19 |
1 |
| 20 |
1 Expected |
| 21 |
SELECT COUNT(@@GLOBAL.innodb_use_native_aio); |
| 22 |
COUNT(@@GLOBAL.innodb_use_native_aio) |
| 23 |
1 |
| 24 |
1 Expected |
| 25 |
SELECT COUNT(VARIABLE_VALUE) |
| 26 |
FROM performance_schema.global_variables |
| 27 |
WHERE VARIABLE_NAME='innodb_use_native_aio'; |
| 28 |
COUNT(VARIABLE_VALUE) |
| 29 |
1 |
| 30 |
1 Expected |
| 31 |
'#---------------------BS_STVARS_035_04----------------------#' |
| 32 |
SELECT @@innodb_use_native_aio = @@GLOBAL.innodb_use_native_aio; |
| 33 |
@@innodb_use_native_aio = @@GLOBAL.innodb_use_native_aio |
| 34 |
1 |
| 35 |
1 Expected |
| 36 |
'#---------------------BS_STVARS_035_05----------------------#' |
| 37 |
SELECT COUNT(@@innodb_use_native_aio); |
| 38 |
COUNT(@@innodb_use_native_aio) |
| 39 |
1 |
| 40 |
1 Expected |
| 41 |
SELECT COUNT(@@local.innodb_use_native_aio); |
| 42 |
ERROR HY000: Variable 'innodb_use_native_aio' is a GLOBAL variable |
| 43 |
Expected error 'Variable is a GLOBAL variable' |
| 44 |
SELECT COUNT(@@SESSION.innodb_use_native_aio); |
| 45 |
ERROR HY000: Variable 'innodb_use_native_aio' is a GLOBAL variable |
| 46 |
Expected error 'Variable is a GLOBAL variable' |
| 47 |
SELECT COUNT(@@GLOBAL.innodb_use_native_aio); |
| 48 |
COUNT(@@GLOBAL.innodb_use_native_aio) |
| 49 |
1 |
| 50 |
1 Expected |
| 51 |
SELECT innodb_use_native_aio; |
| 52 |
ERROR 42S22: Unknown column 'innodb_use_native_aio' in 'field list' |
| 53 |
Expected error 'Unknown column' |