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

Use unique_ptr for MatchExpression sub-classes that store a child vector

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • Query Execution

    Description

      ElemMatchValueMatchExpression and ListOfMatchExpression each store a vector of MatchExpression raw pointers that have to be cleaned up manually in their destructors. We'd like to replace these each with a vector of std::unique_ptr<MatchExpression> to formalize their ownership and improve our C++ hygiene.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            justin.seyster@mongodb.com Justin Seyster
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: