summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-01-25 10:33:53 -0500
committerEliot Horowitz <eliot@10gen.com>2011-01-25 10:33:53 -0500
commit7c0c4d13e5c8e92d6450fc8ab540fbbe66303ea8 (patch)
tree3c1f3307bd6fccf9b19da1024057f4ee881d5706 /scripting
parent58b6f4283870249aac279509fb32bda54347f4d3 (diff)
downloadmongo-7c0c4d13e5c8e92d6450fc8ab540fbbe66303ea8.tar.gz
find now takes 7 args
Diffstat (limited to 'scripting')
-rw-r--r--scripting/v8_db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/v8_db.cpp b/scripting/v8_db.cpp
index 7a4ce3fca8a..4d124540702 100644
--- a/scripting/v8_db.cpp
+++ b/scripting/v8_db.cpp
@@ -258,7 +258,7 @@ namespace mongo {
Handle<Value> mongoFind(const Arguments& args) {
HandleScope handle_scope;
- jsassert( args.Length() == 6 , "find needs 6 args" );
+ jsassert( args.Length() == 7 , "find needs 7 args" );
jsassert( args[1]->IsObject() , "needs to be an object" );
DBClientBase * conn = getConnection( args );
GETNS;