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

Set autocommit OFF by default

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.1
    • DBAPI 2.0
    • 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

              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.