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

Move CST types to own the underlying data

    • Query Optimization
    • Query 2020-10-05

      Using the BSONRegex struct to hold regex types, for example, holds the pattern by StringData which will become invalid if the original BSON goes out of scope. While not a big deal in practice, the CST should not require the original BSON to outlive it.

      Other types that need to change are BSONCode, BSONCodeWScope, BSONBinData, BSONDBRef, and BSONSymbol.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: