summaryrefslogtreecommitdiffstats
path: root/storage/rocksdb/mysql-test/rocksdb_sys_vars/r/rocksdb_create_if_missing_basic.result
blob: 26dd14fbb68bfee8323fc55a1b9797683e087a86 (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_CREATE_IF_MISSING;
SELECT @start_global_value;
@start_global_value
1
"Trying to set variable @@global.ROCKSDB_CREATE_IF_MISSING to 444. It should fail because it is readonly."
SET @@global.ROCKSDB_CREATE_IF_MISSING   = 444;
ERROR HY000: Variable 'rocksdb_create_if_missing' is a read only variable
DROP TABLE valid_values;
DROP TABLE invalid_values;