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

Crash when creating a cursor

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.52
    • Generic
    • None

    Description

      This code crashes:

      import mariadb
      cursor=mariadb.cursor()
      

      instead of reporting an error, e.g.

      AttributeError: module 'mariadb' has no attribute 'cursor'
      

      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.