summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.cpp
diff options
context:
space:
mode:
authorAmalia Hawkins <amalia.hawkins@10gen.com>2014-12-02 15:31:07 -0500
committerAmalia Hawkins <amalia.hawkins@10gen.com>2014-12-03 14:08:29 -0500
commit66fb08ef754d957fdb7b2326f1597f85b1c42347 (patch)
treeb5f9eff0d1cfea9f8d9492bea9086be7a291459c /src/mongo/db/audit.cpp
parent5598c216ca28234735999ca25b3f6f9a030f51e6 (diff)
downloadmongo-66fb08ef754d957fdb7b2326f1597f85b1c42347.tar.gz
SERVER-16362: Defer audit doc creation and redaction until we have to log it.
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r--src/mongo/db/audit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp
index a06d0058a8f..5c7a78adabe 100644
--- a/src/mongo/db/audit.cpp
+++ b/src/mongo/db/audit.cpp
@@ -44,7 +44,8 @@ namespace audit {
void logCommandAuthzCheck(ClientBasic* client,
const NamespaceString& ns,
- const mutablebson::Document& cmdObj,
+ const BSONObj& cmdObj,
+ Command* command,
ErrorCodes::Error result) MONGO_AUDIT_STUB
void logDeleteAuthzCheck(