diff options
Diffstat (limited to 'src/mongo/db/query/query_planner_common.cpp')
| -rw-r--r-- | src/mongo/db/query/query_planner_common.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/query/query_planner_common.cpp b/src/mongo/db/query/query_planner_common.cpp index 33eb72100cc..337f3a045fc 100644 --- a/src/mongo/db/query/query_planner_common.cpp +++ b/src/mongo/db/query/query_planner_common.cpp @@ -71,8 +71,8 @@ void QueryPlannerCommon::reverseScans(QuerySolutionNode* node) { } if (!isn->bounds.isValidFor(isn->index.keyPattern, isn->direction)) { - LOG(5) << "Invalid bounds: " << redact(isn->bounds.toString()); - invariant(0); + severe() << "Invalid bounds: " << redact(isn->bounds.toString()); + MONGO_UNREACHABLE; } // TODO: we can just negate every value in the already computed properties. |
