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

Move NamespaceString::escapeDbName out to its only caller

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      The function NamespaceString::escapeDbName uses a scheme to escape dbName to strings usable as path components. I'm moving this function to src/mongo/db/storage/kv/kv_catalog.cpp, its only caller, because the path name choice is storage specific and shouldn't be useful to other users of the NamespaceString class.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: