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

socket property broken

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.4
    • 1.1.5
    • Other
    • None
    • 3.10

    Description

      connection.socket property returns an error, since the get_socket method doesn't exist anymore:

      {{>>> import mariadb
      >>> c=mariadb.connect()
      >>> c.socket
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/local/lib/python3.9/site-packages/mariadb-1.1.5-py3.9-linux-x86_64.egg/mariadb/connections.py", line 655, in socket
      fno = self.get_socket()
      AttributeError: 'Connection' object has no attribute 'get_socket'}}

      Attachments

        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.