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

Command cursor should use command reported namespace for getMore

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • 3.2, 3.2.1
    • 3.2.2
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: