Debian Codegraph @

mysql-test/suite/mariabackup/small_ibd.test

raw
1 --source include/innodb_page_size.inc
2
3 # Check if ibd smaller than page size are skipped
4 # It is possible, due to race conditions that new file
5 # is created by server while xtrabackup is running
6 # The first page in this file does not yet exist.
7 # xtrabackup should skip such file.
8
9 let $_datadir= `SELECT @@datadir`;
10 write_file $_datadir/test/small.ibd;
11 EOF
12 echo #backup;
13
14 let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
15 --disable_result_log
16 exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --parallel=10 --target-dir=$targetdir;
17 --enable_result_log
18 remove_file $_datadir/test/small.ibd;
19 rmdir $targetdir;