From: Art Cancro Date: Tue, 25 Jul 2023 14:53:23 +0000 (-0900) Subject: add some //FIXME tags where needed X-Git-Tag: v987~6 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=9f08ea1813e0304b7faf9da00dfa5270e9d3a3bc;p=citadel.git add some //FIXME tags where needed --- 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;