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

Leftover test for incorrect 'assert'

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 2.3.0
    • Internal Code
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: