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

Set autocommit OFF by default

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1
    • Component/s: DBAPI 2.0
    • Labels:
      None

      Description

      After a successful connect that value for connection.autocommit depends on the server default.

      According to PEP-249 DBAPI 2.0 specification, autocommit should be off by default:

      "Note that if the database supports an auto-commit feature, this must be initially off. An interface method may be provided to turn it back on."

        Attachments

          Issue Links

            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: