summaryrefslogtreecommitdiffstats
path: root/storage/rocksdb/mysql-test/rocksdb_sys_vars/r/rocksdb_manual_wal_flush_basic.result
blob: 9b176263a238f4cb9ce8f177fd85092edf1a24fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CREATE TABLE valid_values (value varchar(255)) ENGINE=myisam;
INSERT INTO valid_values VALUES(1);
INSERT INTO valid_values VALUES(1024);
CREATE TABLE invalid_values (value varchar(255)) ENGINE=myisam;
INSERT INTO invalid_values VALUES('\'aaa\'');
SET @start_global_value = @@global.ROCKSDB_MANUAL_WAL_FLUSH;
SELECT @start_global_value;
@start_global_value
1
"Trying to set variable @@global.ROCKSDB_MANUAL_WAL_FLUSH to 444. It should fail because it is readonly."
SET @@global.ROCKSDB_MANUAL_WAL_FLUSH   = 444;
ERROR HY000: Variable 'rocksdb_manual_wal_flush' is a read only variable
DROP TABLE valid_values;
DROP TABLE invalid_values;