If batch size is set to 1, send nToReturn of 2

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.13.2, 3.0.3
    • Component/s: Query Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The server special cases nToReturn of 1 to close the cursor, but if the user sets a batch size of 1, the intention is not to close the cursor (a limit of 1 would be used instead).

      So the driver should set nToReturn of 2 when batch size is set to 1.

            Assignee:
            Unassigned
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: