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

About closing of cursors

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.5
    • Component/s: API
    • Labels:
    • Environment:
      jruby 1.6.4

      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.

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

              Created:
              Updated:
              Resolved: