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

QuerySolutionNode should hold its children by unique_ptr

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: Querying
    • Fully Compatible
    • QO 2022-04-18, QO 2022-05-02
    • 72

      Right now, it holds its children as a vector of owned raw pointers, despite unique ownership semantics:

      https://github.com/mongodb/mongo/blob/1c9354d71c835820f46e5cc557e604b1d602debd/src/mongo/db/query/query_solution.h#L147-L148

            Assignee:
            david.percy@mongodb.com David Percy
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: