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

Leftover test for incorrect 'assert'

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: Internal Code
    • Labels:
    • Backwards Compatibility:
      Fully Compatible

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: