mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 06:05:32 +02: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:
parent
906c9a93a0
commit
2a1afc29f2
9 changed files with 22 additions and 14 deletions
|
|
@ -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=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue