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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.8.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query 2020-10-05

      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.

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

              Created:
              Updated:
              Resolved: