1--source include/have_innodb.inc
2--source include/have_debug.inc
3--source include/have_sequence.inc
4
5CREATE TABLE t(i INT) ENGINE=INNODB;
6
7--let $targetdir=$MYSQLTEST_VARDIR/tmp/backup
8
9# Generate enough redo log records to make at least one loop in log group
10--let before_innodb_log_copy_thread_started=INSERT INTO test.t SELECT * from test.seq_1_to_102400
11
12--disable_result_log
13# mariabackup must exit with error instead of hanging
14--error 1
15exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir --dbug=+d,mariabackup_events;
16--enable_result_log
17
18DROP TABLE t;
19--rmdir $targetdir
20
21