-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Server Serverless 2023-06-26
-
1
Currently, we have isAdminDB(), isConfigDB() and isLocalDB() in NamespaceString class. We also need the similar functions in DatabaseName class.
Here are the motivations to do this:
- DatabaseName::db() will be private. Then, we cannot compare the result of `db()` with string "local", "config" and "local".
- Put all the raw db string compare into one central place.
- is depended on by
-
SERVER-77537 Make DatabaseName::db() private
- Closed