mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Don't run upgrade-views if not mysql or --upgrade-system-tables
This commit is contained in:
parent
97e0aeaf72
commit
4987080ddb
1 changed files with 5 additions and 0 deletions
|
@ -790,6 +790,11 @@ static int run_mysqlcheck_views(void)
|
|||
upgrade_views="--upgrade-views=FROM_MYSQL";
|
||||
verbose("Phase %d/%d: Fixing views from mysql", phase++, phases_total);
|
||||
}
|
||||
else if (opt_systables_only)
|
||||
{
|
||||
verbose("Phase %d/%d: Fixing views - skipped - not required", phase++, phases_total);
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
verbose("Phase %d/%d: Fixing views", phase++, phases_total);
|
||||
|
||||
|
|
Loading…
Reference in a new issue