summaryrefslogtreecommitdiff
path: root/db/geo
diff options
context:
space:
mode:
Diffstat (limited to 'db/geo')
-rw-r--r--db/geo/quadrant_search.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/geo/quadrant_search.cpp b/db/geo/quadrant_search.cpp
index 24457ee951b..73e8af27ee2 100644
--- a/db/geo/quadrant_search.cpp
+++ b/db/geo/quadrant_search.cpp
@@ -95,7 +95,7 @@ namespace mongo {
uassert( 13316 , "no geo field specified" , _geo.size() );
uassert( 13317 , "no other fields specified" , _other.size() );
-
+ uassert( 13324 , "quadrant search can only have 1 other field for now" , _other.size() == 1 );
_order = orderBuilder.obj();
}