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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.3
    • None
    • 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

        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: