'#---------------------BS_STVARS_022_01----------------------#'
SELECT COUNT(@@GLOBAL.innodb_buffer_pool_size);
COUNT(@@GLOBAL.innodb_buffer_pool_size)
1
1 Expected
'#---------------------BS_STVARS_022_02----------------------#'
SET @@GLOBAL.innodb_buffer_pool_size=1;
ERROR HY000: Variable 'innodb_buffer_pool_size' is a read only variable
Expected error 'Read only variable'
SELECT COUNT(@@GLOBAL.innodb_buffer_pool_size);
COUNT(@@GLOBAL.innodb_buffer_pool_size)
1
1 Expected
'#---------------------BS_STVARS_022_03----------------------#'
SELECT @@GLOBAL.innodb_buffer_pool_size = VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='innodb_buffer_pool_size';
@@GLOBAL.innodb_buffer_pool_size = VARIABLE_VALUE
1
1 Expected
SELECT COUNT(@@GLOBAL.innodb_buffer_pool_size);
COUNT(@@GLOBAL.innodb_buffer_pool_size)
1
1 Expected
SELECT COUNT(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='innodb_buffer_pool_size';
COUNT(VARIABLE_VALUE)
1
1 Expected
'#---------------------BS_STVARS_022_04----------------------#'
SELECT @@innodb_buffer_pool_size = @@GLOBAL.innodb_buffer_pool_size;
@@innodb_buffer_pool_size = @@GLOBAL.innodb_buffer_pool_size
1
1 Expected
'#---------------------BS_STVARS_022_05----------------------#'
SELECT COUNT(@@innodb_buffer_pool_size);
COUNT(@@innodb_buffer_pool_size)
1
1 Expected
SELECT COUNT(@@local.innodb_buffer_pool_size);
ERROR HY000: Variable 'innodb_buffer_pool_size' is a GLOBAL variable
Expected error 'Variable is a GLOBAL variable'
SELECT COUNT(@@SESSION.innodb_buffer_pool_size);
ERROR HY000: Variable 'innodb_buffer_pool_size' is a GLOBAL variable
Expected error 'Variable is a GLOBAL variable'
SELECT COUNT(@@GLOBAL.innodb_buffer_pool_size);
COUNT(@@GLOBAL.innodb_buffer_pool_size)
1
1 Expected
SELECT innodb_buffer_pool_size = @@SESSION.innodb_buffer_pool_size;
ERROR 42S22: Unknown column 'innodb_buffer_pool_size' in 'field list'
Expected error 'Readonly variable'
