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

[CQF] Avoid implicit copy from PolyValue::reference_type

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QO 2023-09-04, QO 2023-09-18

      PolyValue::reference_type has an implicit conversion to PolyValue, which has to deep copy. This interacts with visit() and transport(), and is causing some unintentional deep copying, for example in several of the CE transports.

            Assignee:
            david.percy@mongodb.com David Percy
            Reporter:
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: