diff options
author | Benety Goh <benety@mongodb.com> | 2018-04-04 21:42:26 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-04-04 21:42:26 -0400 |
commit | 80f409d1311eb8d20251d17be474aff382538b84 (patch) | |
tree | a8134ca8928240b84414f8faf75c7af06119915b /src/mongo/db/fts/fts_query_parser.cpp | |
parent | c3badcbbcf069f428a765ba5937106d1da814076 (diff) | |
download | mongo-80f409d1311eb8d20251d17be474aff382538b84.tar.gz |
SERVER-34307 replace invariant(false) with MONGO_UNREACHABLE
Diffstat (limited to 'src/mongo/db/fts/fts_query_parser.cpp')
-rw-r--r-- | src/mongo/db/fts/fts_query_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/fts/fts_query_parser.cpp b/src/mongo/db/fts/fts_query_parser.cpp index 6b2381c3366..1a8bcae4025 100644 --- a/src/mongo/db/fts/fts_query_parser.cpp +++ b/src/mongo/db/fts/fts_query_parser.cpp @@ -54,7 +54,7 @@ QueryToken FTSQueryParser::next() { // Query Parser should never land on whitespace if (type == QueryToken::WHITESPACE) { - invariant(false); + MONGO_UNREACHABLE; } if (type == QueryToken::TEXT) { |