diff options
author | alabid <alabidan@gmail.com> | 2015-02-09 16:32:02 -0500 |
---|---|---|
committer | alabid <alabidan@gmail.com> | 2015-02-11 17:50:18 -0500 |
commit | 295cb7943e21a22f9f3a95006de21b07b254afd2 (patch) | |
tree | 9371df45b72c9290e4cefb44c108cbd4c07ec888 /src/mongo/db/auth/authorization_manager.h | |
parent | 9e670bc3b3039aba39db26066e44facb0851a5ed (diff) | |
download | mongo-295cb7943e21a22f9f3a95006de21b07b254afd2.tar.gz |
SERVER-15192 Make AuthzManager logOp listener rollback-safe
Diffstat (limited to 'src/mongo/db/auth/authorization_manager.h')
-rw-r--r-- | src/mongo/db/auth/authorization_manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/auth/authorization_manager.h b/src/mongo/db/auth/authorization_manager.h index 1e2d193b65f..c3371bb11c7 100644 --- a/src/mongo/db/auth/authorization_manager.h +++ b/src/mongo/db/auth/authorization_manager.h @@ -427,7 +427,8 @@ namespace mongo { * Hook called by replication code to let the AuthorizationManager observe changes * to relevant collections. */ - void logOp(const char* opstr, + void logOp(OperationContext* txn, + const char* opstr, const char* ns, const BSONObj& obj, BSONObj* patt, |