diff options
Diffstat (limited to 'src/mongo/db')
-rw-r--r-- | src/mongo/db/geo/geometry_container.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/geo/geometry_container.cpp b/src/mongo/db/geo/geometry_container.cpp index c3c3adaa1b2..be09ea54dc7 100644 --- a/src/mongo/db/geo/geometry_container.cpp +++ b/src/mongo/db/geo/geometry_container.cpp @@ -317,7 +317,9 @@ bool GeometryContainer::contains(const GeometryContainer& otherContainer) const } if (nullptr != otherContainer._polygon) { - invariant(nullptr != otherContainer._polygon->s2Polygon); + tassert(7323500, + "Checking if geometry contains big polygon is not supported", + nullptr != otherContainer._polygon->s2Polygon); return contains(*otherContainer._polygon->s2Polygon); } |