diff options
author | Eliot Horowitz <eliot@10gen.com> | 2015-01-09 09:03:11 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2015-01-09 09:17:13 -0500 |
commit | 5f3d618cc212c5d364568e56335e93e7e6ad4937 (patch) | |
tree | cdb714503fb7e40f0b2c5c9cbad42749edc62a47 /src/mongo/db/audit.cpp | |
parent | 2ca0b90c51864e5d71abd018242cdb3b64dda66b (diff) | |
download | mongo-5f3d618cc212c5d364568e56335e93e7e6ad4937.tar.gz |
logCommandAuthzCheck doesn't need to allocate a NamespaceString when not needed
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r-- | src/mongo/db/audit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp index 5c7a78adabe..c49f8b4cbcf 100644 --- a/src/mongo/db/audit.cpp +++ b/src/mongo/db/audit.cpp @@ -43,7 +43,7 @@ namespace audit { ErrorCodes::Error result) MONGO_AUDIT_STUB void logCommandAuthzCheck(ClientBasic* client, - const NamespaceString& ns, + const std::string& dbname, const BSONObj& cmdObj, Command* command, ErrorCodes::Error result) MONGO_AUDIT_STUB |