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

Move MatchExpression tree to own path strings instead of referring to input

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.8.0
    • None
    • None
    • None
    • Fully Compatible
    • Query 2020-10-05

    Description

      There are many MatchExpression leaf nodes which contain a reference to a string that is owned elsewhere, with the most obvious case being any path-matching expression. This is fragile and requires awkward memory management to ensure that the original input (BSON or potentially a different concrete syntax tree) outlives the expression.

      Attachments

        Activity

          People

            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: