| 1 |
# Can only be set from the command line. |
| 2 |
|
| 3 |
# show the global and session values; |
| 4 |
|
| 5 |
--echo Valid values are semi-colon separated strings |
| 6 |
select @@global.innodb_doublewrite_dir; |
| 7 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 8 |
select @@session.innodb_doublewrite_dir; |
| 9 |
show global variables like 'innodb_doublewrite_dir'; |
| 10 |
show session variables like 'innodb_doublewrite_dir'; |
| 11 |
--disable_warnings |
| 12 |
select * from performance_schema.global_variables where variable_name='innodb_doublewrite_dir'; |
| 13 |
select * from performance_schema.session_variables where variable_name='innodb_doublewrite_dir'; |
| 14 |
--enable_warnings |
| 15 |
|
| 16 |
# Show that it's read-only |
| 17 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 18 |
set global innodb_doublewrite_dir='a;b;c'; |
| 19 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 20 |
set session innodb_doublewrite_dir=1; |
| 21 |
|