1############################################################################ 2# Bug989397: InnoDB tables with names *opt*, *par*, *CSV*, *MYD* and so on 3# backed up twice 4############################################################################ 5 6. inc/common.sh 7 8start_server --innodb_file_per_table 9 10# create table which name ends with opt 11${MYSQL} ${MYSQL_ARGS} -e "create table test.topt (a int auto_increment primary key);" 12 13# take a backup with stream mode 14mkdir -p $topdir/backup 15xtrabackup --backup --stream=xbstream --target-dir=$topdir/backup > $topdir/backup/stream.xbs 16 17# will fail if table topt backed up twice 18xbstream -xv -C $topdir/backup < $topdir/backup/stream.xbs 19