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

CanonicalQuery should return NameSpaceString as const ref

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Optimization
    • Fully Compatible
    • QO 2024-03-18

      CanonicalQuery::nss() returns the NSS as a value when it could return a const ref. This function is used all over query optimization code so let's change it to avoid unnecessary copies.

            Assignee:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Reporter:
            matt.boros@mongodb.com Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: