summaryrefslogtreecommitdiff
path: root/src/mongo/db/sessions_collection_standalone.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-05-01 13:15:12 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-05-02 10:56:09 -0400
commit8200acfe03477cb6311768b3d9609cfb339a7eee (patch)
tree468a6b1482d61586a1e1a478598cbda46f251e1d /src/mongo/db/sessions_collection_standalone.cpp
parented967e1216becd9195a77cbce5bd0f9a40a54d5b (diff)
downloadmongo-8200acfe03477cb6311768b3d9609cfb339a7eee.tar.gz
SERVER-34773 Use kSessionsNamespaceString instead of its constituent StringData entries
Diffstat (limited to 'src/mongo/db/sessions_collection_standalone.cpp')
-rw-r--r--src/mongo/db/sessions_collection_standalone.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/sessions_collection_standalone.cpp b/src/mongo/db/sessions_collection_standalone.cpp
index 8fcc2acfbee..a7caf017fe1 100644
--- a/src/mongo/db/sessions_collection_standalone.cpp
+++ b/src/mongo/db/sessions_collection_standalone.cpp
@@ -49,7 +49,7 @@ Status SessionsCollectionStandalone::setupSessionsCollection(OperationContext* o
DBDirectClient client(opCtx);
auto cmd = generateCreateIndexesCmd();
BSONObj info;
- if (!client.runCommand(kSessionsDb.toString(), cmd, info)) {
+ if (!client.runCommand(kSessionsNamespaceString.db().toString(), cmd, info)) {
return getStatusFromCommandResult(info);
}