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