diff options
Diffstat (limited to 'db/matcher.cpp')
| -rw-r--r-- | db/matcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/matcher.cpp b/db/matcher.cpp index 681a6dc8e45..cd625636d54 100644 --- a/db/matcher.cpp +++ b/db/matcher.cpp @@ -259,7 +259,7 @@ namespace mongo { } void Matcher::parseOr( const BSONElement &e, bool subMatcher, list< shared_ptr< Matcher > > &matchers ) { - uassert( 13090, "recursive $or/$nor not allowed", !subMatcher ); + uassert( 13090, "nested $or/$nor not allowed", !subMatcher ); uassert( 13086, "$or/$nor must be a nonempty array", e.type() == Array && e.embeddedObject().nFields() > 0 ); BSONObjIterator j( e.embeddedObject() ); while( j.more() ) { |
