]> code.citadel.org Git - citadel.git/blobdiff - citadel/database.c
* added server command line option "-f" to defrag databases on startup
[citadel.git] / citadel / database.c
index 4dcda3e30ba1321eeb9cdf0640671e186a5babd5..d14ab2bc036095dd3ba5889822c8a27133861a61 100644 (file)
@@ -177,11 +177,6 @@ void open_databases(void) {
 void close_databases(void) {
        int a;
 
-       /* Hmm... we should decide when would be a good time to defrag.
-        * Server shutdowns might be an opportune time.
-        */
-       defrag_databases();
-
        begin_critical_section(S_DATABASE);
        for (a=0; a<MAXCDB; ++a) {
                lprintf(7, "Closing database %d\n", a);