mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
15 lines
607 B
PHP
15 lines
607 B
PHP
# Routine to be called by pfs_upgrade.test
|
|
# $out_file and $err_file must be set within pfs_upgrade.test.
|
|
#
|
|
|
|
--source include/count_sessions.inc
|
|
--exec $MYSQL_UPGRADE --skip-verbose --force > $MYSQLTEST_VARDIR/tmp/out_file 2> $MYSQLTEST_VARDIR/tmp/err_file
|
|
--source include/wait_until_count_sessions.inc
|
|
|
|
# Verify that mysql_upgrade does not complain about the performance_schema
|
|
|
|
--replace_regex /at line [0-9]+/at line ###/
|
|
--cat_file $MYSQLTEST_VARDIR/tmp/err_file
|
|
--remove_file $MYSQLTEST_VARDIR/tmp/out_file
|
|
--remove_file $MYSQLTEST_VARDIR/tmp/err_file
|
|
--remove_file $MYSQLD_DATADIR/mysql_upgrade_info
|