mirror of
https://github.com/MariaDB/server.git
synced 2025-04-19 21:55:33 +02:00

Add test case binlog_in_engine.recover with a first very simple recovery test. The test currently fails during InnoDB recovery: 2025-03-02 11:35:44 0 [ERROR] InnoDB: Missing FILE_DELETE or FILE_MODIFY for [page id: space=4294967281, page number=0] at 62894; set innodb_force_recovery=1 to ignore the record. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
18 lines
508 B
PHP
18 lines
508 B
PHP
# Crash mysqld hard and wait until it's restarted
|
|
|
|
--source include/have_debug.inc
|
|
--source include/not_embedded.inc
|
|
|
|
# Write file to make mysql-test-run.pl expect crash and restart
|
|
--write_line restart $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
|
|
|
# Setup the mysqld to crash at shutdown
|
|
SET debug_dbug="d,crash_shutdown";
|
|
--error 2013
|
|
shutdown;
|
|
|
|
# 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
|