Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-451

About closing of cursors

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.6.5
    • API
    • jruby 1.6.4

    Description

      Given: a new cursor via a find on a collection
      If: the cursor is closed before any documents are fetched
      And: the sort order is changed
      Then: No exception is thrown

      Is this a bug? I expect that an exception should be thrown if one changes the sort or limit etc on a closed cursor.

      Attachments

        Activity

          People

            Unassigned Unassigned
            guyboertje Guy Boertje
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: