-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MyRocks: Add files lost during the merge
Include files that upstream has in mysql-test/include and so they were not picked up by the merge process
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
storage/rocksdb/mysql-test/rocksdb/include/restart_mysqld_with_invalid_option.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--source include/shutdown_mysqld.inc | ||
|
||
# Expect the server to fail to come up with these options | ||
--error 1 | ||
--exec $MYSQLD_CMD --plugin_load=$HA_ROCKSDB_SO $_mysqld_option | ||
|
||
# Restart the server with the default options | ||
--source include/start_mysqld.inc |
14 changes: 14 additions & 0 deletions
14
storage/rocksdb/mysql-test/rocksdb/include/start_mysqld_with_option.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Include this script only after using shutdown_mysqld.inc | ||
# where $_expect_file_name was initialized. | ||
# Write file to make mysql-test-run.pl start up the server again | ||
--exec echo "restart:$_mysqld_option" > $_expect_file_name | ||
|
||
# Turn on reconnect | ||
--enable_reconnect | ||
|
||
# Call script that will poll the server waiting for it to be back online again | ||
--source include/wait_until_connected_again.inc | ||
|
||
# Turn off reconnect again | ||
--disable_reconnect | ||
|