summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.cpp
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2013-10-09 11:40:24 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2013-10-09 11:58:21 -0400
commitd29d8008c20143e52ed11890d8728ed19e4f56eb (patch)
tree61fcf38cd02abef1ad3ca8be4eb32bdae6f9d736 /src/mongo/db/audit.cpp
parent42b1dfce39fc77156a6bbad531893d6deee6e049 (diff)
downloadmongo-d29d8008c20143e52ed11890d8728ed19e4f56eb.tar.gz
SERVER-1891 Add audit logging hook for renameCollection
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r--src/mongo/db/audit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp
index d329034cb84..5347fafd339 100644
--- a/src/mongo/db/audit.cpp
+++ b/src/mongo/db/audit.cpp
@@ -191,6 +191,10 @@ namespace audit {
void logDropDatabase(ClientBasic* client,
const StringData& dbname) MONGO_AUDIT_STUB
+
+ void logRenameCollection(ClientBasic* client,
+ const StringData& source,
+ const StringData& target) MONGO_AUDIT_STUB
} // namespace audit
} // namespace mongo