Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-1092

lsm_merge.c: dead assignment

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: WT2.3.0
    • Component/s: None
    • Labels:

      Description

      @agorrod, in __wt_lsm_merge:

          387
          388         ret = __wt_lsm_merge_update_tree(
          389             session, lsm_tree, start_chunk, nchunks, chunk);
          390
          391         if (create_bloom)
          392                 F_SET(chunk, WT_LSM_CHUNK_BLOOM);
          393         chunk->count = insert_count;
          394         chunk->generation = generation;
          395         F_SET(chunk, WT_LSM_CHUNK_ONDISK);
          396
          397         ret = __wt_lsm_meta_write(session, lsm_tree);
          398         lsm_tree->dsk_gen++;
      

      the ret assignment on line 388 is never subsequently read.

      Can you please fix this one?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alexander.gorrod Alexander Gorrod
                Reporter:
                keith.bostic Keith Bostic
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: