lib/mongo/operation/parallel_scan/command.rb in mongo-2.14.1 vs lib/mongo/operation/parallel_scan/command.rb in mongo-2.15.0.alpha

- old
+ new

@@ -35,10 +35,11 @@ if read_concern sel[:readConcern] = Options::Mapper.transform_values_to_strings( read_concern) end sel[:maxTimeMS] = max_time_ms if max_time_ms - add_read_preference_legacy(sel, connection) + update_selector_for_read_pref(sel, connection) + sel end def message(connection) Protocol::Query.new(db_name, Database::COMMAND, command(connection), options(connection)) end