summaryrefslogtreecommitdiff
path: root/db/dbcommands.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-10-20 17:31:52 -0400
committerEliot Horowitz <eliot@10gen.com>2009-10-20 17:31:52 -0400
commit1e1df0e4346cf50cef8c4cf7256877b3c63a9dd3 (patch)
treeb8d64656067d7ed639adbc3cabb4fe87b088f91c /db/dbcommands.cpp
parentc33f5a88a9206e6ae3ca4d78818bf4763afb353c (diff)
downloadmongo-1e1df0e4346cf50cef8c4cf7256877b3c63a9dd3.tar.gz
fix assert
Diffstat (limited to 'db/dbcommands.cpp')
-rw-r--r--db/dbcommands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/dbcommands.cpp b/db/dbcommands.cpp
index 21325e618ec..6d00c4d3653 100644
--- a/db/dbcommands.cpp
+++ b/db/dbcommands.cpp
@@ -1308,7 +1308,7 @@ namespace mongo {
n = map.size();
s->setObject( "$key" , key , true );
- uassert( "group() can't handle more than 10000 unique keys" , n < 10000 );
+ uassert( "group() can't handle more than 10000 unique keys" , n <= 10000 );
}
s->setObject( "obj" , obj , true );