blob: 90fc99ef21abdcc8233aedfc919b73f0bd3b2d32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
CREATE TABLE valid_values (value varchar(255)) ENGINE=myisam;
INSERT INTO valid_values VALUES(1);
INSERT INTO valid_values VALUES(0);
INSERT INTO valid_values VALUES('on');
INSERT INTO valid_values VALUES('off');
INSERT INTO valid_values VALUES('true');
INSERT INTO valid_values VALUES('false');
CREATE TABLE invalid_values (value varchar(255)) ENGINE=myisam;
INSERT INTO invalid_values VALUES('\'aaa\'');
INSERT INTO invalid_values VALUES('\'bbb\'');
SET @start_global_value = @@global.ROCKSDB_CACHE_DUMP;
SELECT @start_global_value;
@start_global_value
1
"Trying to set variable @@global.ROCKSDB_CACHE_DUMP to 444. It should fail because it is readonly."
SET @@global.ROCKSDB_CACHE_DUMP = 444;
ERROR HY000: Variable 'rocksdb_cache_dump' is a read only variable
DROP TABLE valid_values;
DROP TABLE invalid_values;
|