diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2013-10-09 11:40:24 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2013-10-09 11:58:21 -0400 |
commit | d29d8008c20143e52ed11890d8728ed19e4f56eb (patch) | |
tree | 61fcf38cd02abef1ad3ca8be4eb32bdae6f9d736 /src/mongo/db/audit.cpp | |
parent | 42b1dfce39fc77156a6bbad531893d6deee6e049 (diff) | |
download | mongo-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.cpp | 4 |
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 |