mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -4625,7 +4625,7 @@ open_and_process_table(THD *thd, LEX *lex, TABLE_LIST *tables,
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (!opt_no_stat_tables && thd->variables.optimizer_use_stat_tables > 0)
|
||||
if (opt_with_stat_tables && thd->variables.optimizer_use_stat_tables > 0)
|
||||
{
|
||||
if (tables->table && tables->table->s &&
|
||||
tables->table->s->table_category != TABLE_CATEGORY_SYSTEM)
|
||||
|
Reference in New Issue
Block a user