mysql5/mysql-5.7.27/mysql-test/include/mysql_upgrade_cleanup.inc

8 lines
258 B
PHP

# Include this at the end of any test using mysql_upgrade
let $MYSQLD_DATADIR= `select @@datadir`;
# mysql_upgrade should have created mysql_upgrade_info file,
# so the following command will do a clean-up.
--remove_file $MYSQLD_DATADIR/mysql_upgrade_info