mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Inverted the option --skip-stat-tables for --stat-tables.
Set it to 0 by default. Now only the tests that use persistent statistics tables require starting the server with --stat-tables set on.
This commit is contained in:
@ -637,7 +637,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
|
||||
DBUG_PRINT("admin", ("operator_func returned: %d", result_code));
|
||||
}
|
||||
|
||||
if (operator_func == &handler::ha_analyze && !opt_no_stat_tables &&
|
||||
if (operator_func == &handler::ha_analyze && opt_with_stat_tables &&
|
||||
thd->variables.optimizer_use_stat_tables > 0)
|
||||
{
|
||||
if (!(compl_result_code=
|
||||
|
Reference in New Issue
Block a user