add some //FIXME tags where needed
authorArt Cancro <ajc@citadel.org>
Tue, 25 Jul 2023 14:53:23 +0000 (05:53 -0900)
committerArt Cancro <ajc@citadel.org>
Tue, 25 Jul 2023 14:53:23 +0000 (05:53 -0900)
citadel/utils/ctdlload.c

index 38083b880622d57b5512298fdb70e61c301bcd6c..1dec33878f4f1d172a5f7995bf15a879cbdce3e3 100644 (file)
@@ -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;