diff options
Diffstat (limited to 'src/mongo/db/introspect.cpp')
| -rw-r--r-- | src/mongo/db/introspect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/introspect.cpp b/src/mongo/db/introspect.cpp index cbbb710e6d7..6556f8979ad 100644 --- a/src/mongo/db/introspect.cpp +++ b/src/mongo/db/introspect.cpp @@ -39,7 +39,7 @@ #include "mongo/db/auth/user_set.h" #include "mongo/db/catalog/collection.h" #include "mongo/db/client.h" -#include "mongo/db/concurrency/exception_util.h" +#include "mongo/db/concurrency/write_conflict_exception.h" #include "mongo/db/curop.h" #include "mongo/db/db_raii.h" #include "mongo/db/jsobj.h" @@ -88,7 +88,7 @@ void profile(OperationContext* opCtx, NetworkOp op) { AuthorizationSession* authSession = AuthorizationSession::get(opCtx->getClient()); OpDebug::appendUserInfo(*CurOp::get(opCtx), b, authSession); - const BSONObj p = b.done().redact(BSONObj::RedactLevel::sensitiveOnly); + const BSONObj p = b.done(); const string dbName(nsToDatabase(CurOp::get(opCtx)->getNS())); |
