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,7 +428,7 @@ void dict_stats_start()
|
|||||||
|
|
||||||
static void dict_stats_schedule(int ms)
|
static void dict_stats_schedule(int ms)
|
||||||
{
|
{
|
||||||
DBUG_ASSERT(dict_stats_timer);
|
if(dict_stats_timer)
|
||||||
dict_stats_timer->set_time(ms,0);
|
dict_stats_timer->set_time(ms,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user