mirror of
https://github.com/MariaDB/server.git
synced 2025-05-08 15:01:49 +03:00
23 lines
656 B
Plaintext
23 lines
656 B
Plaintext
--source include/have_innodb.inc
|
|
# bool readonly
|
|
|
|
#
|
|
# show values;
|
|
#
|
|
select @@global.innodb_use_fallocate;
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
select @@session.innodb_use_fallocate;
|
|
show global variables like 'innodb_use_fallocate';
|
|
show session variables like 'innodb_use_fallocate';
|
|
select * from information_schema.global_variables where variable_name='innodb_use_fallocate';
|
|
select * from information_schema.session_variables where variable_name='innodb_use_fallocate';
|
|
|
|
#
|
|
# show that it's read-only
|
|
#
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
set global innodb_use_fallocate=1;
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
set session innodb_use_fallocate=1;
|
|
|