Skip to content

Commit 40bed2d

Browse files
committed
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
1 parent ce4149f commit 40bed2d

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
--source include/shutdown_mysqld.inc
2+
3+
# Expect the server to fail to come up with these options
4+
--error 1
5+
--exec $MYSQLD_CMD --plugin_load=$HA_ROCKSDB_SO $_mysqld_option
6+
7+
# Restart the server with the default options
8+
--source include/start_mysqld.inc
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Include this script only after using shutdown_mysqld.inc
2+
# where $_expect_file_name was initialized.
3+
# Write file to make mysql-test-run.pl start up the server again
4+
--exec echo "restart:$_mysqld_option" > $_expect_file_name
5+
6+
# Turn on reconnect
7+
--enable_reconnect
8+
9+
# Call script that will poll the server waiting for it to be back online again
10+
--source include/wait_until_connected_again.inc
11+
12+
# Turn off reconnect again
13+
--disable_reconnect
14+

0 commit comments

Comments
 (0)