diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2020-08-10 10:30:05 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-10 17:28:08 +0000 |
commit | 79ad90cee37d361085ff42ea3b07287edf787896 (patch) | |
tree | ca42e37bceb5bca33119c3f509198a2c94639545 /src | |
parent | cdfa5cb0834dc6d87b38591ae4b326a2439a755e (diff) | |
download | mongo-79ad90cee37d361085ff42ea3b07287edf787896.tar.gz |
SERVER-50030 Fix kInternalClient check in dbcommands.cpp
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/db/commands/dbcommands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/dbcommands.cpp b/src/mongo/db/commands/dbcommands.cpp index e6d860afe38..06634e1e68b 100644 --- a/src/mongo/db/commands/dbcommands.cpp +++ b/src/mongo/db/commands/dbcommands.cpp @@ -356,7 +356,7 @@ public: uassert(ErrorCodes::InvalidOptions, str::stream() << "the 'temp' field is an invalid option", opCtx->getClient()->isInDirectClient() || - (opCtx->getClient()->session()->getTags() | + (opCtx->getClient()->session()->getTags() & transport::Session::kInternalClient)); } |