Skip to content

Commit

Permalink
SERVER-446 v8 handles NumberLong type
Browse files Browse the repository at this point in the history
  • Loading branch information
astaple committed Dec 22, 2009
1 parent 7c005a3 commit de9e185
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripting/v8_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ namespace mongo {

case mongo::NumberDouble:
case mongo::NumberInt:
case mongo::NumberLong: // may lose information here - just copying sm engine behavior
o->Set( v8::String::New( f.fieldName() ) , v8::Number::New( f.number() ) );
break;

Expand Down

0 comments on commit de9e185

Please sign in to comment.