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

Tidy the "ripcip" argument into the visibility code

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • WT10.0.1, 5.0.4, 4.4.10, 5.1.0-rc0
    • None
    • None

    Description

      The "ripcip" argument of __wt_rec_update_select is a void * that's supposed to be either a WT_ROW * (rip) or WT_COL * (cip). It turns out that only the WT_ROW case is actually needed, so this can be simplified and made typesafe.

      (There is one reference in the code that uses this value as a WT_COL, but it is (a) unreachable and also (b) wrong, so it can safely be removed.)

      Attachments

        Activity

          People

            keith.bostic@mongodb.com Keith Bostic (Inactive)
            dholland+wt@sauclovia.org David Holland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: