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.
This commit is contained in:
parent
7cc332b724
commit
569381df83
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user