From: Art Cancro Date: Tue, 13 Jun 2023 19:40:55 +0000 (-0900) Subject: don't compress use table records anymore X-Git-Tag: v979~2 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=4461b3d25ae3f648adecb6628d53bd9c54154511;p=citadel.git don't compress use table records anymore --- diff --git a/citadel/Makefile b/citadel/Makefile index 3772a1815..91e951893 100644 --- a/citadel/Makefile +++ b/citadel/Makefile @@ -10,7 +10,7 @@ # config.mk is generated by ./configure include config.mk -all := citserver setup ctdlmigrate sendcommand citmail chkpw chkpwd #ctdl3264 +all := citserver setup ctdlmigrate sendcommand citmail chkpw chkpwd ctdl3264 all: $(all) citserver: server/*.c server/modules/*/*.c config.mk server/*.h diff --git a/citadel/server/database.c b/citadel/server/database.c index 7009cc067..d961f8ebf 100644 --- a/citadel/server/database.c +++ b/citadel/server/database.c @@ -393,9 +393,9 @@ int cdb_store(int cdb, const void *ckey, int ckeylen, void *cdata, int cdatalen) ddata.size = cdatalen; ddata.data = cdata; - // "visit" and "usetable" records are numerous and have big, mostly-empty string buffers in them. + // "visit" records are numerous and have big, mostly-empty string buffers in them. // If we compress these we can get them down to 1% of their size most of the time. - if ((cdb == CDB_VISIT) || (cdb == CDB_USETABLE)) { + if (cdb == CDB_VISIT) { compressing = 1; zheader.magic = COMPRESS_MAGIC; zheader.uncompressed_len = cdatalen;