mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 11.0 into 11.1
This commit is contained in:
@@ -5815,6 +5815,12 @@ void TABLE::init(THD *thd, TABLE_LIST *tl)
|
||||
(*f_ptr)->cond_selectivity= 1.0;
|
||||
}
|
||||
|
||||
/* enable and clear or disable engine query statistics */
|
||||
if (thd->should_collect_handler_stats())
|
||||
file->ha_handler_stats_reset();
|
||||
else
|
||||
file->ha_handler_stats_disable();
|
||||
|
||||
notnull_cond= 0;
|
||||
DBUG_ASSERT(!file->keyread_enabled());
|
||||
|
||||
|
Reference in New Issue
Block a user