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

CURSOR_TYPE_READ_ONLY allows insert

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 0.9.52
    • 0.9.53
    • DBAPI 2.0
    • None

    Description

      I created a cursor as follows:

      cursor = conn.cursor(cursor_type=mariadb.CURSOR_TYPE_READ_ONLY)

      And then used the cursor to execute a few INSERT statements. Following those, an attempt to do a SELECT caused a segmentation fault.

      If I avoid the INSERT statements, the SELECT works fine with CURSOR_TYPE_READ_ONLY set.

      Attachments

        Activity

          People

            georg Georg Richter
            WayneD Wayne Davison (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.