mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
WL#4991 mysql_upgrade --fix-privilege-tables
(backport)
mysql_upgrade script accepts --upgrade-system-tables option,
fixing only system tables in this case.
per-file comments:
client/mysql_upgrade.c
WL#4991 mysql_upgrade --fix-privilege-tables
--upgrade-system-tables option added.
if it is set, the tool won't look for the mysqlcheck then
run_mysqlcheck_fixnames() and run_mysqlcheck_upgrade won't be called.
mysql-test/r/mysql_upgrade.result
WL#4991 mysql_upgrade --fix-privilege-tables
test result added
mysql-test/t/mysql_upgrade.test
WL#4991 mysql_upgrade --fix-privilege-tables
test case added
This commit is contained in:
@@ -127,3 +127,7 @@ mysql.time_zone_transition OK
|
||||
mysql.time_zone_transition_type OK
|
||||
mysql.user OK
|
||||
set GLOBAL sql_mode=default;
|
||||
Looking for 'mysql' as: /home/hf/work/mysql_common/wl4991/client/mysql
|
||||
The --upgrade-system-tables option was used, databases won't be touched.
|
||||
Running 'mysql_fix_privilege_tables'...
|
||||
OK
|
||||
|
||||
Reference in New Issue
Block a user