config root man

Current Path : /usr/opt/mysql57/mysql-test/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/opt/mysql57/mysql-test/t/opt_costmodel_downgrade.test

-- source include/no_valgrind_without_big.inc
-- source include/mysql_upgrade_preparation.inc

--echo
--echo Bug#25650399: DOWNGRADE FROM MYSQL 8.0 WITH WL#10128 TO 5.7
--echo               WILL CRASH SERVER
--echo

# Add columns and check that upgrade script drops them
ALTER TABLE mysql.server_cost
  ADD COLUMN default_value FLOAT GENERATED ALWAYS AS (cost_name) VIRTUAL;
ALTER TABLE mysql.engine_cost
  ADD COLUMN default_value FLOAT GENERATED ALWAYS AS (cost_name) VIRTUAL;

# This will crash server without fix
FLUSH OPTIMIZER_COSTS;

--exec $MYSQL_UPGRADE --skip-verbose --force 2>&1

# Mask out the content of the last_update column
--replace_column 3 #
SELECT * FROM mysql.server_cost;
--replace_column 5 #
SELECT * FROM mysql.engine_cost;

--source include/mysql_upgrade_cleanup.inc

Man Man