Skip to content

Commit

Permalink
RUBY-472 minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerBrock committed Dec 11, 2012
1 parent 22d1354 commit b4fac08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/mongo/cursor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,7 @@ def construct_query_message
BSON::BSON_RUBY.serialize_cstr(message, "#{@db.name}.#{@collection.name}")
message.put_int(@skip)
message.put_int(@limit)
spec = construct_query_spec
message.put_binary(BSON::BSON_CODER.serialize(spec, false).to_s)
message.put_binary(BSON::BSON_CODER.serialize(construct_query_spec, false).to_s)
message.put_binary(BSON::BSON_CODER.serialize(@fields, false).to_s) if @fields
message
end
Expand Down
2 changes: 1 addition & 1 deletion lib/mongo/util/support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module Support
'geosearch',
'geowalk',
'mapreduce',
'replSetGetStatus',
'replsetgetstatus',
'ismaster',
]

Expand Down

0 comments on commit b4fac08

Please sign in to comment.