Commit 4987080d authored by Daniel Black's avatar Daniel Black

Don't run upgrade-views if not mysql or --upgrade-system-tables

parent 97e0aeaf
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment