diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-10-20 17:31:52 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-10-20 17:31:52 -0400 |
commit | 1e1df0e4346cf50cef8c4cf7256877b3c63a9dd3 (patch) | |
tree | b8d64656067d7ed639adbc3cabb4fe87b088f91c /db/dbcommands.cpp | |
parent | c33f5a88a9206e6ae3ca4d78818bf4763afb353c (diff) | |
download | mongo-1e1df0e4346cf50cef8c4cf7256877b3c63a9dd3.tar.gz |
fix assert
Diffstat (limited to 'db/dbcommands.cpp')
-rw-r--r-- | db/dbcommands.cpp | 2 |
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 ); |