diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2017-11-15 09:40:53 -0500 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2017-11-15 10:53:49 -0500 |
commit | e37db69674486dff9fdac2b5ee41961a8805804b (patch) | |
tree | 14b519e3e0f80bff99e4762d7d5dd33efeb5d1fd /src/mongo/db/db_raii.h | |
parent | e60188fe153cccc2f6ffa44b422f2be66a84d90c (diff) | |
download | mongo-e37db69674486dff9fdac2b5ee41961a8805804b.tar.gz |
SERVER-31447 Use correct collation for update lookup
Diffstat (limited to 'src/mongo/db/db_raii.h')
-rw-r--r-- | src/mongo/db/db_raii.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/db_raii.h b/src/mongo/db/db_raii.h index e251d1fe05d..f764d671d31 100644 --- a/src/mongo/db/db_raii.h +++ b/src/mongo/db/db_raii.h @@ -86,6 +86,8 @@ class AutoGetCollection { enum class ViewMode; public: + AutoGetCollection(OperationContext*, const NamespaceString&, const UUID&, LockMode modeAll); + AutoGetCollection(OperationContext* opCtx, const NamespaceString& nss, LockMode modeAll) : AutoGetCollection(opCtx, nss, modeAll, modeAll, ViewMode::kViewsForbidden) {} |