Remove the WT_TXNID_LT and WT_TXNID_LT macros

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Transactions
    • SE Transactions - 2025-05-23
    • 3

      Note that this is currently a proposal, discussion/push back is welcomed.

      The WT_TXNID_LT and WT_TXNID_LE used to contain special handling for transaction IDs like WT_TXN_ABORTED and WT_TXN_NONE, however these days they just evaluate to `a < b` and `a <= b` respectively. This looks like a candidate to remove the macros and use `<`, `<=` comparisons directly.

              Assignee:
              Linh Tran
              Reporter:
              Andrew Morton
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: