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

Reduce danger of MatchExpression::getChildVector() or remove it

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.3
    • Internal Code, Querying
    • None
    • Fully Compatible
    • Query 2019-12-30

    Description

      As detailed in SERVER-45177, this API is dangerous to use and overlaps in functionality with MatchExpression::getChild(size_t). We should investigate why this method was added and whether we should audit all implementations to make sure they don't return nullptr like MatchExpressionNot, or we should remove it and replace usages with getChild()

      Attachments

        Issue Links

          Activity

            People

              jacob.evans@mongodb.com Jacob Evans
              charlie.swanson@mongodb.com Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: