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

Tidy the "ripcip" argument into the visibility code

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT10.0.1, 5.0.4, 4.4.10, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None

      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.)

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

              Created:
              Updated:
              Resolved: