mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
f1c1c04a34
Discover P_S tables automatically. Most of this patch is code clean-up: - removed tests and code responsible for P_S tables correctness verification - always return error from ha_perfschema::create() - install/upgrade scripts won't create P_S tables anymore
17 lines
478 B
PHP
17 lines
478 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 > $out_file 2> $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 $err_file
|
|
--error 0,1
|
|
--remove_file $out_file
|
|
--error 0,1
|
|
--remove_file $err_file
|
|
|