Details
Description
The changes in SERVER-75733 removed an implicit StringData constructor from DatabaseName, instead opting to wrap most calls to NamespaceString::db() with an allocation of DatabaseName. This ticket will finish the job by directly returning the embedded DatabaseName instead of allocating a new one.