| 1 |
--source include/have_debug.inc |
| 2 |
let $targetdir=$MYSQLTEST_VARDIR/tmp/backup; |
| 3 |
mkdir $targetdir; |
| 4 |
|
| 5 |
CREATE TABLE t1(i int) ENGINE=INNODB; |
| 6 |
|
| 7 |
# this will table and populate it, after backup has list of tables to be copied |
| 8 |
--let backup_fix_ddl=BEGIN NOT ATOMIC DROP TABLE test.t1;DO SLEEP(10000); END |
| 9 |
echo # xtrabackup backup; |
| 10 |
--disable_result_log |
| 11 |
error 1; |
| 12 |
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --parallel=10 --target-dir=$targetdir --no-lock --dbug=+d,mariabackup_events; |
| 13 |
--enable_result_log |
| 14 |
rmdir $targetdir; |