Commit 1a8afb48 authored by Sergei Petrunia's avatar Sergei Petrunia

MDEV-16310: rocksdb.check_ignore_unknown_options fails on OS X

Use a compatible xargs command-line arguments.
parent 13c241c6
...@@ -22,5 +22,5 @@ let SEARCH_PATTERN= RocksDB: Compatibility check against existing database optio ...@@ -22,5 +22,5 @@ let SEARCH_PATTERN= RocksDB: Compatibility check against existing database optio
--enable_reconnect --enable_reconnect
--exec echo "restart" > $restart_file --exec echo "restart" > $restart_file
--source include/wait_until_connected_again.inc --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'' -e '/hello=world/d' {}"
select variable_name, variable_value from information_schema.global_variables where variable_name="rocksdb_ignore_unknown_options"; select variable_name, variable_value from information_schema.global_variables where variable_name="rocksdb_ignore_unknown_options";
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