mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
41 lines
1.4 KiB
Text
41 lines
1.4 KiB
Text
--source include/have_innodb.inc
|
|
--source include/have_debug_sync.inc
|
|
--source include/have_debug.inc
|
|
--source include/have_sequence.inc
|
|
--source include/no_valgrind_without_big.inc
|
|
|
|
CREATE TABLE t ENGINE=INNODB SELECT seq%10 i FROM seq_0_to_204796;
|
|
|
|
--echo # xtrabackup backup
|
|
--let $targetdir=$MYSQLTEST_VARDIR/tmp/backup
|
|
--let $backuplog=$MYSQLTEST_VARDIR/tmp/backup.log
|
|
|
|
--let before_innodb_log_copy_thread_started=INSERT INTO test.t SELECT * FROM test.t
|
|
|
|
--disable_result_log
|
|
--error 1
|
|
--exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir --dbug=+d,mariabackup_events > $backuplog
|
|
--enable_result_log
|
|
|
|
--let SEARCH_PATTERN=Was only able to copy log from \\d+ to \\d+, not \\d+; try increasing innodb_log_file_size\\b
|
|
--let SEARCH_FILE=$backuplog
|
|
--source include/search_pattern_in_file.inc
|
|
--remove_file $backuplog
|
|
--rmdir $targetdir
|
|
|
|
--let before_innodb_log_copy_thread_started=INSERT INTO test.t SELECT seq FROM seq_0_to_9
|
|
|
|
--disable_result_log
|
|
--error 1
|
|
--exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir --dbug=+d,mariabackup_events,log_checksum_mismatch > $backuplog
|
|
--enable_result_log
|
|
|
|
--let SEARCH_PATTERN=failed: redo log block checksum does not match
|
|
--let SEARCH_FILE=$backuplog
|
|
--source include/search_pattern_in_file.inc
|
|
--remove_file $backuplog
|
|
--rmdir $targetdir
|
|
|
|
--let before_innodb_log_copy_thread_started=
|
|
|
|
DROP TABLE t;
|