1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-4398 -

Change default for innodb_use_fallocate to FALSE, due to bugs in older Linux kernels (posix_fallocate() does not always guarantee that file size is like one specified)
This commit is contained in:
Vladislav Vaintroub
2013-04-19 12:08:55 +02:00
parent 84ce6832e6
commit 4d78392be5
3 changed files with 7 additions and 7 deletions

View File

@ -1,20 +1,20 @@
select @@global.innodb_use_fallocate;
@@global.innodb_use_fallocate
1
0
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
innodb_use_fallocate OFF
show session variables like 'innodb_use_fallocate';
Variable_name Value
innodb_use_fallocate ON
innodb_use_fallocate OFF
select * from information_schema.global_variables where variable_name='innodb_use_fallocate';
VARIABLE_NAME VARIABLE_VALUE
INNODB_USE_FALLOCATE ON
INNODB_USE_FALLOCATE OFF
select * from information_schema.session_variables where variable_name='innodb_use_fallocate';
VARIABLE_NAME VARIABLE_VALUE
INNODB_USE_FALLOCATE ON
INNODB_USE_FALLOCATE OFF
set global innodb_use_fallocate=1;
ERROR HY000: Variable 'innodb_use_fallocate' is a read only variable
set session innodb_use_fallocate=1;