summaryrefslogtreecommitdiff
path: root/src/mongo/db/db_raii.h
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2017-11-01 16:33:01 -0400
committerCharlie Swanson <charlie.swanson@mongodb.com>2017-11-14 17:20:02 -0500
commitde0b16077945eb6b6ec161b99f41c3222aade3b8 (patch)
treeab8992c77b9e4ec4e53711c21f3d62697e3b9fc6 /src/mongo/db/db_raii.h
parentb4f6f2c967afc21d03bfca68f09d148d50e59134 (diff)
downloadmongo-de0b16077945eb6b6ec161b99f41c3222aade3b8.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.h2
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) {}