mariadb/mysql-test/suite/mariabackup/xb_history.test
2017-04-27 19:12:40 +02:00

8 lines
342 B
Text

let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
--disable_result_log
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --history=foo --backup --target-dir=$targetdir;
--enable_result_log
SELECT COUNT(*) FROM PERCONA_SCHEMA.xtrabackup_history;
DROP TABLE PERCONA_SCHEMA.xtrabackup_history;
DROP DATABASE PERCONA_SCHEMA;
rmdir $targetdir;