Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-341

:max_scan typo in Mongo::Collection#find

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.5.0
    • Affects Version/s: None
    • Component/s: None

      I noticed Mongo::Collection#find has typo.

      Line 220 in mongo/collection.rb

      show_disk_loc = opts.delete(:max_scan)
      

      I think :show_disk_loc is correct

      show_disk_loc = opts.delete(:show_disk_loc)
      

            Assignee:
            kbanker Kyle Banker
            Reporter:
            repeatedly Masahiro Nakagawa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: