summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2020-08-12 11:24:59 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-17 20:26:35 +0000
commitafeaf1aa3b84953c2582c10bde12c92107040d47 (patch)
tree6b8b175beaf68c8965cf2b4e00158476737a74dd
parentbdc96c3cab7889f4f3ba7adb20527a4d68445288 (diff)
downloadmongo-afeaf1aa3b84953c2582c10bde12c92107040d47.tar.gz
SERVER-39392 Remove tautological invariant
(cherry picked from commit e908bb6b444235cb251c4e69b5adac9e6a983953) (cherry picked from commit fcf1e05d5c1a4df7ac4cbdf71950ee226d1e35d0) (cherry picked from commit 179d4953d8d1c1018dc238aa0824a4a2c4e2f5fd) (cherry picked from commit 00cc5c686de7afbd6c6e275ba42f2b385084ee71)
-rw-r--r--src/mongo/db/exec/plan_stage.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/exec/plan_stage.h b/src/mongo/db/exec/plan_stage.h
index 840e9f5b964..bbc4c2acfbf 100644
--- a/src/mongo/db/exec/plan_stage.h
+++ b/src/mongo/db/exec/plan_stage.h
@@ -275,7 +275,6 @@ public:
// reattachToOperationContext()
// directly, since that will assert that '_opCtx' is not set.
_opCtx = opCtx;
- invariant(!_opCtx || opCtx == opCtx);
for (auto&& child : _children) {
child->dispose(opCtx);