From 9f08ea1813e0304b7faf9da00dfa5270e9d3a3bc Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 25 Jul 2023 05:53:23 -0900 Subject: [PATCH] add some //FIXME tags where needed --- citadel/utils/ctdlload.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/citadel/utils/ctdlload.c b/citadel/utils/ctdlload.c index 38083b880..1dec33878 100644 --- a/citadel/utils/ctdlload.c +++ b/citadel/utils/ctdlload.c @@ -448,6 +448,7 @@ int import_visit(char *line, DBT *out_key, DBT *out_data) { // Convert a "dir" record to a record on disk. int import_dir(char *line, DBT *out_key, DBT *out_data) { + // FIXME return(0); } @@ -520,12 +521,15 @@ int import_fulltext(char *line, DBT *out_key, DBT *out_data) { // Import an EUID Index record int import_euidindex(char *line, DBT *out_key, DBT *out_data) { + // FIXME return(0); } // Import a "users by number" (secondary index) record +// The key is a "long" int import_usersbynumber(char *line, DBT *out_key, DBT *out_data) { + // FIXME return(0); } @@ -593,6 +597,7 @@ void ingest_one(char *line, DB_ENV *dst_dbenv) { else if (!strcasecmp(record_type, "dir")) current_cdb = CDB_DIRECTORY; else if (!strcasecmp(record_type, "use")) current_cdb = CDB_USETABLE; else if (!strcasecmp(record_type, "bigmsg")) current_cdb = CDB_BIGMSGS; + else if (!strcasecmp(record_type, "fulltext")) current_cdb = CDB_FULLTEXT; else if (!strcasecmp(record_type, "euidindex")) current_cdb = CDB_EUIDINDEX; else if (!strcasecmp(record_type, "usersbynumber")) current_cdb = CDB_USERSBYNUMBER; else if (!strcasecmp(record_type, "config")) current_cdb = CDB_CONFIG; -- 2.39.2