summaryrefslogtreecommitdiff
path: root/src/mongo/db/db_raii.h
diff options
context:
space:
mode:
authorMihai Andrei <mihai.andrei@10gen.com>2022-03-01 20:52:30 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-01 22:13:51 +0000
commit7283309a1745451a593ac349cc8a70b6657df77d (patch)
tree88d8a6a6b8820a26b8980b87d622df73ed1d388a /src/mongo/db/db_raii.h
parentdcb787226cdd575ea1c7c95ad6a0b996b3c8b27a (diff)
downloadmongo-7283309a1745451a593ac349cc8a70b6657df77d.tar.gz
SERVER-62798 Use single 'AutoGet' for all execution namespaces instead of multiple in 'runAggregate'
Diffstat (limited to 'src/mongo/db/db_raii.h')
-rw-r--r--src/mongo/db/db_raii.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/db_raii.h b/src/mongo/db/db_raii.h
index 0bc8a1058f9..a0aa871a428 100644
--- a/src/mongo/db/db_raii.h
+++ b/src/mongo/db/db_raii.h
@@ -438,6 +438,7 @@ public:
const CollectionPtr& getCollection() const;
const ViewDefinition* getView() const;
const NamespaceString& getNss() const;
+ bool isAnySecondaryNamespaceAViewOrSharded() const;
private:
boost::optional<AutoGetCollectionForReadCommand> _autoGet;