diff options
Diffstat (limited to 'src/mongo/db/commands/run_aggregate.h')
-rw-r--r-- | src/mongo/db/commands/run_aggregate.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/commands/run_aggregate.h b/src/mongo/db/commands/run_aggregate.h index 0bb86ac91b0..33c03e80cdb 100644 --- a/src/mongo/db/commands/run_aggregate.h +++ b/src/mongo/db/commands/run_aggregate.h @@ -32,6 +32,7 @@ #include "mongo/bson/bsonobj.h" #include "mongo/bson/bsonobjbuilder.h" #include "mongo/db/auth/privilege.h" +#include "mongo/db/commands/external_data_source_scope_guard.h" #include "mongo/db/namespace_string.h" #include "mongo/db/operation_context.h" #include "mongo/db/pipeline/aggregate_command_gen.h" @@ -57,7 +58,8 @@ Status runAggregate(OperationContext* opCtx, const LiteParsedPipeline& liteParsedPipeline, const BSONObj& cmdObj, const PrivilegeVector& privileges, - rpc::ReplyBuilderInterface* result); + rpc::ReplyBuilderInterface* result, + ExternalDataSourceScopeGuard externalDataSourceGuard); /** * Convenience version that internally constructs the LiteParsedPipeline. |