1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

add missing tests

This commit is contained in:
Sergei Golubchik
2013-04-14 10:00:42 +02:00
parent aa4c7deac7
commit d364e64ae2
4 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,21 @@
select @@global.innodb_use_fallocate;
@@global.innodb_use_fallocate
1
select @@session.innodb_use_fallocate;
ERROR HY000: Variable 'innodb_use_fallocate' is a GLOBAL variable
show global variables like 'innodb_use_fallocate';
Variable_name Value
innodb_use_fallocate ON
show session variables like 'innodb_use_fallocate';
Variable_name Value
innodb_use_fallocate ON
select * from information_schema.global_variables where variable_name='innodb_use_fallocate';
VARIABLE_NAME VARIABLE_VALUE
INNODB_USE_FALLOCATE ON
select * from information_schema.session_variables where variable_name='innodb_use_fallocate';
VARIABLE_NAME VARIABLE_VALUE
INNODB_USE_FALLOCATE ON
set global innodb_use_fallocate=1;
ERROR HY000: Variable 'innodb_use_fallocate' is a read only variable
set session innodb_use_fallocate=1;
ERROR HY000: Variable 'innodb_use_fallocate' is a read only variable