From 4461b3d25ae3f648adecb6628d53bd9c54154511 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 13 Jun 2023 10:40:55 -0900 Subject: [PATCH] don't compress use table records anymore --- citadel/Makefile | 2 +- citadel/server/database.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.2