diff options
author | agirbal <antoine@10gen.com> | 2012-01-30 23:57:55 -0800 |
---|---|---|
committer | agirbal <antoine@10gen.com> | 2012-01-30 23:58:59 -0800 |
commit | 6a5269e37025ab957320a51717787187b1040bde (patch) | |
tree | de4229b3441ab473f5054f7c17c897076ef7dd4d /src/mongo/scripting/v8_db.cpp | |
parent | 79c18c7270e12bc679403f31316064b96b495c64 (diff) | |
download | mongo-6a5269e37025ab957320a51717787187b1040bde.tar.gz |
- SERVER-4807: access to bsonholder on objects that dont have it
Diffstat (limited to 'src/mongo/scripting/v8_db.cpp')
-rw-r--r-- | src/mongo/scripting/v8_db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/scripting/v8_db.cpp b/src/mongo/scripting/v8_db.cpp index 7b63d3c306e..d84f2c30265 100644 --- a/src/mongo/scripting/v8_db.cpp +++ b/src/mongo/scripting/v8_db.cpp @@ -667,7 +667,7 @@ namespace mongo { return prop; } else if ( sname.length() == 0 || sname[0] == '_' ) { // if starts with '_' we dont return collection, one must use getCollection() - return v8::Undefined(); + return v8::Handle<v8::Value>(); } // no hit, create new collection |