mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Continuation of the previous cset: rename sysvar's test, too.
use_direct_writes was renamed to use_direct_io_for_flush_and_compaction
This commit is contained in:
parent
e13e1eea96
commit
07d329a758
3 changed files with 8 additions and 8 deletions
|
@ -0,0 +1,7 @@
|
|||
SET @start_global_value = @@global.ROCKSDB_USE_DIRECT_IO_FOR_FLUSH_AND_COMPACTION;
|
||||
SELECT @start_global_value;
|
||||
@start_global_value
|
||||
0
|
||||
"Trying to set variable @@global.ROCKSDB_USE_DIRECT_IO_FOR_FLUSH_AND_COMPACTION to 444. It should fail because it is readonly."
|
||||
SET @@global.ROCKSDB_USE_DIRECT_IO_FOR_FLUSH_AND_COMPACTION = 444;
|
||||
ERROR HY000: Variable 'rocksdb_use_direct_io_for_flush_and_compaction' is a read only variable
|
|
@ -1,7 +0,0 @@
|
|||
SET @start_global_value = @@global.ROCKSDB_USE_DIRECT_WRITES;
|
||||
SELECT @start_global_value;
|
||||
@start_global_value
|
||||
0
|
||||
"Trying to set variable @@global.ROCKSDB_USE_DIRECT_WRITES to 444. It should fail because it is readonly."
|
||||
SET @@global.ROCKSDB_USE_DIRECT_WRITES = 444;
|
||||
ERROR HY000: Variable 'rocksdb_use_direct_writes' is a read only variable
|
|
@ -1,6 +1,6 @@
|
|||
--source include/have_rocksdb.inc
|
||||
|
||||
--let $sys_var=ROCKSDB_USE_DIRECT_WRITES
|
||||
--let $sys_var=ROCKSDB_USE_DIRECT_IO_FOR_FLUSH_AND_COMPACTION
|
||||
--let $read_only=1
|
||||
--let $session=0
|
||||
--source include/rocksdb_sys_var.inc
|
Loading…
Add table
Reference in a new issue