[CONPY-102] Set autocommit OFF by default Created: 2020-08-12  Updated: 2020-08-16  Resolved: 2020-08-12

Status: Closed
Project: MariaDB Connector/Python
Component/s: DBAPI 2.0
Affects Version/s: 1.0.0
Fix Version/s: 1.0.1

Type: New Feature Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks CONPY-77 Add mariadb dialect to sqlalchemy Closed

 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."



 Comments   
Comment by Georg Richter [ 2020-08-12 ]

fixed - rev. 0e91d76d52d5260dbee7448c9f0a81240424cfbe

Generated at Thu Feb 08 03:30:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.