diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-01-25 10:33:53 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-01-25 10:33:53 -0500 |
commit | 7c0c4d13e5c8e92d6450fc8ab540fbbe66303ea8 (patch) | |
tree | 3c1f3307bd6fccf9b19da1024057f4ee881d5706 /scripting | |
parent | 58b6f4283870249aac279509fb32bda54347f4d3 (diff) | |
download | mongo-7c0c4d13e5c8e92d6450fc8ab540fbbe66303ea8.tar.gz |
find now takes 7 args
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/v8_db.cpp | 2 |
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; |