Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1071

Command cursor should use command reported namespace for getMore

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.2.2
    • Affects Version/s: 3.2, 3.2.1
    • Component/s: None

      This is a regression in PyMongo 3.2. The changes for PYTHON-978 caused CommandCursor to use <database name>.<collection name> as the namespace for getMore operations, regardless of the 'ns' value returned from the initial command.

      This may have no practical current effect on applications since in most cases the 'ns' value returned from the initial command will be <database name>.<collection name>.

      Discovered by mockupdb tests. See also PYTHON-806.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: