Commit 07d329a7 authored by Sergei Petrunia's avatar Sergei Petrunia

Continuation of the previous cset: rename sysvar's test, too.

use_direct_writes was renamed to use_direct_io_for_flush_and_compaction
parent e13e1eea
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
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
--source include/have_rocksdb.inc --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 $read_only=1
--let $session=0 --let $session=0
--source include/rocksdb_sys_var.inc --source include/rocksdb_sys_var.inc
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment