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

:max_scan typo in Mongo::Collection#find

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:

      Description

      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)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: