Statistics: Close the DB handle in the vacuum OTM block (#10775)

Followup to #10749
This commit is contained in:
NiLuJe
2023-08-02 18:47:38 +02:00
committed by GitHub
parent 416237e526
commit 724db0b924

View File

@@ -616,6 +616,7 @@ if last_migration_date < 20230802 then
else
logger.warn("db not compatible when performing onetime migration:", ok, value)
end
conn:close()
else
logger.info("statistics.sqlite3 not found.")
end