]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/modules/fulltext/serv_fulltext.c
Marked code that will require some rework for LMDB.
[citadel.git] / citadel / server / modules / fulltext / serv_fulltext.c
index acbf524df3e17f514fe07e2522371b2a78bd9013..008e4fc60e4abc7f58ba436db2809183f53ac46c 100644 (file)
@@ -131,7 +131,7 @@ void ft_index_message(long msgnum, int op) {
                                        if (cdb_bucket != NULL) {
                                                ftc_num_msgs[tok] = cdb_bucket->len / sizeof(long);
                                                ftc_msgs[tok] = (long *)cdb_bucket->ptr;
-                                               cdb_bucket->ptr = NULL;
+                                               cdb_bucket->ptr = NULL;         // (this needs attention if we move to LMDB)
                                                cdb_free(cdb_bucket);
                                        }
                                        else {
@@ -315,7 +315,7 @@ void ft_search(int *fts_num_msgs, long **fts_msgs, const char *search_string) {
                                if (cdb_bucket != NULL) {
                                        ftc_num_msgs[tok] = cdb_bucket->len / sizeof(long);
                                        ftc_msgs[tok] = (long *)cdb_bucket->ptr;
-                                       cdb_bucket->ptr = NULL;
+                                       cdb_bucket->ptr = NULL;                 // (this needs attention if we move to LMDB)
                                        cdb_free(cdb_bucket);
                                }
                                else {