Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7049

Leftover test for incorrect 'assert'

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.3.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • Fully Compatible

      From code inspection:

      In lines 141 to 145 of src/mongo/db/btree.cpp we have a leftover check that the 'assert' macro is the correct one. In the change to use 'verify' instead of 'assert', the text was changed to 'verify', but this is the old 'assert' test renamed. We should remove this old code.

            Assignee:
            tad Tad Marshall
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: