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

Display status of connection, cursor and pool class in string representation

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.9, 1.1.0rc1
    • Component/s: Generic
    • Labels:
      None

      Description

      Make the string representation of built-in objects more verbose (displaying status)

      1. connection
      active: <mariadb.connection object connected to 'hostname' at 0x... >
      closed: <mariadb.connection object (closed) at 0x...>

      2. cursor
      active: <mariadb.connection.cursor object at 0x....>
      closed: <mariadb.connection.cursor object (closed) at 0x....>

      3. connection pool
      active: <mariadb.ConnectionPool object 'poolname' at 0x.... >
      closed: <mariadb.ConnectionPool object (closed) at 0x.... >

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            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.