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

Methods on QueryPlanner class should return owned objects by std::unique_ptr

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.1
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • Query 2018-01-15
    • 15

      The existing method signatures return owned raw pointers. This makes it easy for callers to leak said pointers, especially on error.

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

              Created:
              Updated:
              Resolved: