diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2016-01-06 18:06:16 -0500 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2016-01-15 15:23:14 -0500 |
commit | 2d8008289b9d075c56841dc08830bb7cff28aeaf (patch) | |
tree | 4b382af4f4f65765f55661b9a54a62f988e3a494 /src/mongo/db/auth/authz_manager_external_state_local.cpp | |
parent | 64a7daba1746dcda0f7d25eab82d35e2c093d54f (diff) | |
download | mongo-2d8008289b9d075c56841dc08830bb7cff28aeaf.tar.gz |
SERVER-22057 refactor OpObserver::onUpdate and MigrationSourceManager::logUpdateOp to directly take the updated document
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state_local.cpp')
-rw-r--r-- | src/mongo/db/auth/authz_manager_external_state_local.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state_local.cpp b/src/mongo/db/auth/authz_manager_external_state_local.cpp index 674a06cfb6b..f3d4453e9fa 100644 --- a/src/mongo/db/auth/authz_manager_external_state_local.cpp +++ b/src/mongo/db/auth/authz_manager_external_state_local.cpp @@ -423,7 +423,7 @@ private: }; void AuthzManagerExternalStateLocal::logOp( - OperationContext* txn, const char* op, const char* ns, const BSONObj& o, BSONObj* o2) { + OperationContext* txn, const char* op, const char* ns, const BSONObj& o, const BSONObj* o2) { if (ns == AuthorizationManager::rolesCollectionNamespace.ns() || ns == AuthorizationManager::adminCommandNamespace.ns()) { txn->recoveryUnit()->registerChange(new AuthzManagerLogOpHandler(this, op, ns, o, o2)); |