Parcourir la source

ftparchive/cachedb.cc: compact() the database after c_del()

Michael Vogt il y a 17 ans
Parent
commit
e2074725f9
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      ftparchive/cachedb.cc

+ 1 - 0
ftparchive/cachedb.cc

@@ -463,6 +463,7 @@ bool CacheDB::Clean()
       
       Cursor->c_del(Cursor,0);
    }
+   Dbp->compact(Dbp, NULL, NULL, NULL, NULL, DB_FREE_SPACE, NULL);
 
    return true;
 }