Commit 569381df authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-33046 fixup. Do not try to schedule timer without dict_stats_start()

dict_stats_schedule() is executed for --innodb-force-recovery=3+,
but timer is not created.
parent 7cc332b7
......@@ -428,8 +428,8 @@ void dict_stats_start()
static void dict_stats_schedule(int ms)
{
DBUG_ASSERT(dict_stats_timer);
dict_stats_timer->set_time(ms,0);
if(dict_stats_timer)
dict_stats_timer->set_time(ms,0);
}
void dict_stats_schedule_now()
......
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