Przeglądaj źródła

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

Michael Vogt 17 lat temu
rodzic
commit
e2074725f9
1 zmienionych plików z 1 dodań i 0 usunięć
  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;
 }