mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Post-merge fixes: rocksdb.check_ignore_unknown_options
This commit is contained in:
parent
8496e84f05
commit
261d4755f4
2 changed files with 5 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
|||
select variable_name, variable_value from information_schema.global_variables where variable_name="rocksdb_ignore_unknown_options";
|
||||
variable_name variable_value
|
||||
ROCKSDB_IGNORE_UNKNOWN_OPTIONS ON
|
||||
FOUND 1 /RocksDB: Compatibility check against existing database options failed/ in my_restart.err
|
||||
select variable_name, variable_value from information_schema.global_variables where variable_name="rocksdb_ignore_unknown_options";
|
||||
variable_name variable_value
|
||||
ROCKSDB_IGNORE_UNKNOWN_OPTIONS ON
|
||||
|
|
|
|||
|
|
@ -4,12 +4,13 @@ let $restart_file= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
|
|||
let $error_log= $MYSQLTEST_VARDIR/log/my_restart.err;
|
||||
select variable_name, variable_value from information_schema.global_variables where variable_name="rocksdb_ignore_unknown_options";
|
||||
|
||||
--exec find $MYSQLD_DATADIR/.rocksdb/OPTIONS* | sort -n | tail -1 | xargs -0 -I {} -t sh -c "echo hello=world>>{}"
|
||||
--exec find $MYSQLD_DATADIR/#rocksdb/OPTIONS* | sort -n | tail -1 | xargs -0 -I {} -t sh -c "echo hello=world>>{}"
|
||||
|
||||
--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
--shutdown_server 10
|
||||
|
||||
--error 1
|
||||
--exec $MYSQLD_CMD --rocksdb_ignore_unknown_options=0 --loose-console > $error_log 2>&1
|
||||
--exec $MYSQLD_CMD --plugin_load=$HA_ROCKSDB_SO --rocksdb_ignore_unknown_options=0 --loose-console --log-error=$error_log
|
||||
|
||||
let SEARCH_FILE= $error_log;
|
||||
let SEARCH_PATTERN= RocksDB: Compatibility check against existing database options failed;
|
||||
|
|
@ -17,5 +18,5 @@ let SEARCH_PATTERN= RocksDB: Compatibility check against existing database optio
|
|||
--enable_reconnect
|
||||
--exec echo "restart" > $restart_file
|
||||
--source include/wait_until_connected_again.inc
|
||||
--exec find $MYSQLD_DATADIR/.rocksdb/OPTIONS* | sort -n | tail -1 | xargs -0 -I {} -t sh -c "sed -i '/hello=world/d' {}"
|
||||
--exec find $MYSQLD_DATADIR/#rocksdb/OPTIONS* | sort -n | tail -1 | xargs -0 -I {} -t sh -c "sed -i '/hello=world/d' {}"
|
||||
select variable_name, variable_value from information_schema.global_variables where variable_name="rocksdb_ignore_unknown_options";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue