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

Remove extra checks before recording error info

    • Storage Engines
    • 1
    • StorEng - 2025-02-14

      In WT-14030, the __wt_session_set_last_error function was updated to no longer overwrite errors that had been stored at a previous point in the current API call.

      As a consequence there are several extra checks that can now be safely removed, since they aim to accomplish the same thing, for example:

      Definition of Done

      This ticket will be considered done after all similar checks for a previously stored error (located before a call to __wt_session_set_last_error/WT_RET_SUB/WT_ERR_SUB) have been removed.

            Assignee:
            jie.chen@mongodb.com Jie Chen
            Reporter:
            alex.pullen@mongodb.com Alex Pullen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: