]> code.citadel.org Git - citadel.git/commitdiff
make a note where we need to decompress
authorArt Cancro <ajc@citadel.org>
Mon, 10 Apr 2023 15:53:06 +0000 (11:53 -0400)
committerArt Cancro <ajc@citadel.org>
Mon, 10 Apr 2023 15:53:06 +0000 (11:53 -0400)
citadel/utils/ctdl3264.c

index 39ff052cb665e5be3e22554ef126e6a82a930f14..b0d429b4751440581ac3fb88fe97d2f51a428788 100644 (file)
@@ -222,9 +222,13 @@ void convert_table(int which_cdb) {
 
        // Walk through the database, calling convert functions as we go and clearing buffers before each call.
        while ((ret = dbcp->get(dbcp, &in_key, &in_data, DB_NEXT)) == 0) {
+
+               // FIXME handle compressed records here
+
                // Call the convert function registered to this table
                convert_functions[which_cdb](which_cdb, &in_key, &in_data, &out_key, &out_data);
 
+               // Knowing the total number of rows isn't critical to the program.  It's just for the user to know.
                ++num_rows;
        }