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:12:55 +0000
commit00cc5c686de7afbd6c6e275ba42f2b385084ee71 (patch)
treed9dd10cebab37aa05b9c1109266e02038ead8f0f
parent11981cbf54adad061d688b44689e65ea4e814c86 (diff)
downloadmongo-00cc5c686de7afbd6c6e275ba42f2b385084ee71.tar.gz
SERVER-39392 Remove tautological invariant
(cherry picked from commit e908bb6b444235cb251c4e69b5adac9e6a983953) (cherry picked from commit fcf1e05d5c1a4df7ac4cbdf71950ee226d1e35d0) (cherry picked from commit 179d4953d8d1c1018dc238aa0824a4a2c4e2f5fd)
-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);