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

Replace NamespaceString::db() with NamespaceString::db_deprecated()

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2023-07-24, Server Serverless 2023-08-07

      In an effort to finish SERVER-65456 we will replace all calls to `NamespaceString::db()` with `NamespaceString::db_deprecated()`.

      This will help enforcing as soon as possible that any developer will be using the appropriate `NamespaceString::dbName()` method when needed.

      In case of serialization we should indicate as part of a comment that `DatabaseNameUtil::serialization(nss.dbName())` can be an alternative

            Assignee:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: