1
########################################################################
2
# Bug #711166: Partitioned tables are not correctly handled by the
3
# --databases and --tables-file options of innobackupex,
4
# and by the --tables option of xtrabackup.
5
# Testcase covers using --tables-file option with MyISAM
7
########################################################################
16
# Create MyISAM partitioned table with some partitions in
18
ib_part_init $topdir MyISAM
20
# Saving the checksum of original table
21
checksum_a=`checksum_table test test`
24
# Only backup of test.test table will be taken
25
cat >$topdir/tables <<EOF
28
innobackupex --no-timestamp --tables-file=$topdir/tables $topdir/backup
29
innobackupex --apply-log $topdir/backup
34
# Restore partial backup
35
ib_part_restore $topdir $mysql_datadir
39
ib_part_assert_checksum $checksum_a