Bug 948448 - Free up disk space after clearing seer data. r=honzab

This commit is contained in:
Nicholas Hurley 2014-01-17 17:45:50 -08:00
parent da60080214
commit 87f232bbc1

View File

@ -2244,6 +2244,8 @@ Seer::ResetInternal()
mDB->ExecuteSimpleSQL(NS_LITERAL_CSTRING("DELETE FROM moz_pages;"));
mDB->ExecuteSimpleSQL(NS_LITERAL_CSTRING("DELETE FROM moz_hosts;"));
VacuumDatabase();
// Go ahead and ensure this is flushed to disk
CommitTransaction();
BeginTransaction();