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

Avoid computing ConstDataRange of the temporary object in NamespaceStringOrUUID::asDataRange()

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: 8.0.0-rc0
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2024-03-04
    • 169

      if NamespaceStringOrUUID is not a namespaceString the temporary std::string object is created and then ConstDataRange view over that object is returned. 

            Assignee:
            serhii.lysenko@mongodb.com Serhii Lysenko
            Reporter:
            serhii.lysenko@mongodb.com Serhii Lysenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: