mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
49fe9bad01
recv_scan_log_recs(): Remember if redo log apply is needed, even if starting up in innodb_read_only mode. recv_recovery_from_checkpoint_start_func(): Refuse innodb_read_only startup if redo log apply is needed.
19 lines
515 B
PHP
19 lines
515 B
PHP
--let $_server_id= `SELECT @@server_id`
|
|
--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.$_server_id.expect
|
|
|
|
if ($restart_parameters)
|
|
{
|
|
--echo # Kill and restart: $restart_parameters
|
|
--exec echo "restart: $restart_parameters" > $_expect_file_name
|
|
}
|
|
if (!$restart_parameters)
|
|
{
|
|
--echo # Kill and restart
|
|
--exec echo "restart" > $_expect_file_name
|
|
}
|
|
|
|
--shutdown_server 0
|
|
--source include/wait_until_disconnected.inc
|
|
--enable_reconnect
|
|
--source include/wait_until_connected_again.inc
|
|
--disable_reconnect
|