diff options
author | David Storch <david.storch@mongodb.com> | 2021-06-04 16:41:11 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-15 20:40:09 +0000 |
commit | 71cfc41653768c29c719689a949a75a0ebbaa941 (patch) | |
tree | 12e2162f584662640055ca53456d4c771bf06c3e /src/mongo/db/commands/index_filter_commands_test.cpp | |
parent | 214defdb236b3620806d7ce3b2d9eb485d68cd89 (diff) | |
download | mongo-71cfc41653768c29c719689a949a75a0ebbaa941.tar.gz |
SERVER-57096 Make SBE rely purely on the kExternal lock policy
After this patch, the AutoGet db_raii object is no longer
held by the SBE scan/ixscan stages. SBE now assumes that any
lock/snapshot acquisition is done at a higher level.
Diffstat (limited to 'src/mongo/db/commands/index_filter_commands_test.cpp')
-rw-r--r-- | src/mongo/db/commands/index_filter_commands_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/index_filter_commands_test.cpp b/src/mongo/db/commands/index_filter_commands_test.cpp index 1293a0d0db3..785530ca6f4 100644 --- a/src/mongo/db/commands/index_filter_commands_test.cpp +++ b/src/mongo/db/commands/index_filter_commands_test.cpp @@ -139,7 +139,7 @@ void addQueryShapeToPlanCache(OperationContext* opCtx, ASSERT_OK(statusWithCQ.getStatus()); std::unique_ptr<CanonicalQuery> cq = std::move(statusWithCQ.getValue()); - QuerySolution qs{QueryPlannerParams::Options::DEFAULT}; + QuerySolution qs{}; qs.cacheData.reset(new SolutionCacheData()); qs.cacheData->tree.reset(new PlanCacheIndexTree()); std::vector<QuerySolution*> solns; |