summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2017-04-17 10:00:19 -0400
committerDavid Storch <david.storch@10gen.com>2017-04-17 18:23:33 -0400
commitcd3409fa054db956e06d41a0d4e321c874e1a2d6 (patch)
tree1e1b6ffa7c92ee37456ff66664845caf3bf320a7
parent4d2c6318608c22869b0655058431b37741822263 (diff)
downloadmongo-cd3409fa054db956e06d41a0d4e321c874e1a2d6.tar.gz
SERVER-28819 fix typo in PlanExecutor invariant
-rw-r--r--src/mongo/db/query/plan_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/plan_executor.cpp b/src/mongo/db/query/plan_executor.cpp
index 7a47a801b38..135c6026137 100644
--- a/src/mongo/db/query/plan_executor.cpp
+++ b/src/mongo/db/query/plan_executor.cpp
@@ -238,7 +238,7 @@ Status PlanExecutor::pickBestPlan(const Collection* collection) {
}
PlanExecutor::~PlanExecutor() {
- invariant(_currentState = kDisposed);
+ invariant(_currentState == kDisposed);
}
// static