summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/distinct_scan.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-04-04 21:42:26 -0400
committerBenety Goh <benety@mongodb.com>2018-04-04 21:42:26 -0400
commit80f409d1311eb8d20251d17be474aff382538b84 (patch)
treea8134ca8928240b84414f8faf75c7af06119915b /src/mongo/db/exec/distinct_scan.cpp
parentc3badcbbcf069f428a765ba5937106d1da814076 (diff)
downloadmongo-80f409d1311eb8d20251d17be474aff382538b84.tar.gz
SERVER-34307 replace invariant(false) with MONGO_UNREACHABLE
Diffstat (limited to 'src/mongo/db/exec/distinct_scan.cpp')
-rw-r--r--src/mongo/db/exec/distinct_scan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/distinct_scan.cpp b/src/mongo/db/exec/distinct_scan.cpp
index 3804668fb73..5b1d5ccc545 100644
--- a/src/mongo/db/exec/distinct_scan.cpp
+++ b/src/mongo/db/exec/distinct_scan.cpp
@@ -125,7 +125,7 @@ PlanStage::StageState DistinctScan::doWork(WorkingSetID* out) {
*out = id;
return PlanStage::ADVANCED;
}
- invariant(false);
+ MONGO_UNREACHABLE;
}
bool DistinctScan::isEOF() {