diff --git a/src/defrag.c b/src/defrag.c index ff63cf8fd..25b4ee45a 100644 --- a/src/defrag.c +++ b/src/defrag.c @@ -941,6 +941,7 @@ void activeDefragCycle(void) { defrag_later_cursor = 0; current_db = -1; cursor = 0; + expires_cursor = 0; db = NULL; goto update_metrics; }