Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-183

Crash when accessing a previously closed connection pool

    XMLWordPrintable

Details

    • 3.8

    Description

      When executing pool.get_connection() method a crash occurs if the connection pool was already closed.

      import mariadb
       
      pool= mariadb.ConnectionPool(user="georg", database="test", pool_name="crash")
      conn= pool.get_connection()
      conn.close()
      pool.close()
      conn= pool._get_connection()
      

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              georg Georg Richter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.