summaryrefslogtreecommitdiff
path: root/src/mongo/db/ttl.cpp
diff options
context:
space:
mode:
authorShreyas Kalyan <shreyas.kalyan@10gen.com>2019-02-28 13:41:40 -0500
committerShreyas Kalyan <shreyas.kalyan@10gen.com>2019-03-04 15:44:09 -0500
commit447847d93d6e0a21b018d5df45528e815c7c13d8 (patch)
tree02b7857e766fa85730a61b4b189d4cc7d48d8bfd /src/mongo/db/ttl.cpp
parentbede0e9b7afee4bb30025b1ffc3e22763aec9e93 (diff)
downloadmongo-d10879b5c2b6d9cd0bd690b27f6e10699c19fff2.tar.gz
SERVER-39058 Synchronize user set modification in AuthorizationSession with Clientr3.4.20-rc0r3.4.20
(cherry picked from commit a9277e874039f32ce0d848fcdfb10de705c96fd9)
Diffstat (limited to 'src/mongo/db/ttl.cpp')
-rw-r--r--src/mongo/db/ttl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ttl.cpp b/src/mongo/db/ttl.cpp
index 9688f661578..09785151326 100644
--- a/src/mongo/db/ttl.cpp
+++ b/src/mongo/db/ttl.cpp
@@ -85,7 +85,7 @@ public:
virtual void run() {
Client::initThread(name().c_str());
- AuthorizationSession::get(cc())->grantInternalAuthorization();
+ AuthorizationSession::get(cc())->grantInternalAuthorization(&cc());
while (!inShutdown()) {
{