Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-290

Unexhausted N1QLRequest iterator will crash application

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 2.0.3
    • 2.0.0
    • library
    • Security Level: Public
    • None

    Description

      An unexhausted iterator may crash the program as it is still referenced by libcouchbase:

      itobj = cb.n1ql_query('select * from default')
      next(iter(itobj))
      del itobj
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mnunberg Mark Nunberg (Inactive)
              mnunberg Mark Nunberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty