Release Notes for MariaDB Connector/Python 1.0.1


MariaDB Connector/Python is the interface between Python applications and MariaDB Server. MariaDB Connector/Python enables development of Python applications. It is compliant with Python DB API 2.0 (PEP-249). It is written in C and uses MariaDB Connector/C.

MariaDB Connector/Python 1.0.1 was released on 2020-08-18. This release is of General Availability (GA) maturity.

Notable Changes

  • Behavior of rowcount and lastrowid attributes now conforms with PEP-249. (CONPY-105)

  • Behavior of auto-commit changed, now defaults to OFF per PEP-249 DBAPI 2.0 specification. Adds autocommit to connection options. (CONPY-102)

  • The cursor class now supports binary options, allowing use of binary protocols without passing parameters. (CONPY-100)

Issues Fixed

  • Fixes issue with negative time values so that they are now returned to Python as datetime.timedelta instances. (CONPY-107)

  • Fixes exception handling to choose types based on error number instead of SQL state. (CONPY-106)

  • Fixes issue with negative reference counts in the callrproc() method. (CONPY-101)

  • Fixes memory leak in fetchall() method. (CONPY-99)

  • Fixes issue with CAST() SQL function not returning binary objects when casting AS BINARY (CONPY-98)

  • Fixes issue with lack of support for MYSQL_TYPE_BIT (CONPY-95)

  • Fixes issue with lack of support for Python sub-classes. (CONPY-94)

  • Fixes issue in Python memory allocation without holding the GIL. (CONPY-93)

  • Fixes issue in version checking of MariaDB Connector/C in setup routine. (CONPY-85)

  • Fixes issue with missing reference incrementing in ConnectionPool (CONPY-83)

  • Fixes issue unlocking mutex when the attempt to add a new connection to the connection pool fails. (CONPY-82)