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

CURSOR_TYPE_READ_ONLY allows insert

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Stalled (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.52
    • Fix Version/s: 0.9.53
    • Component/s: DBAPI 2.0
    • Labels:
      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

            Assignee:
            georg Georg Richter
            Reporter:
            WayneD Wayne Davison
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: