Release Notes for MariaDB Connector/Python 0.9.56-beta


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 0.9.56-beta was released on 2019-04-06. It is an beta release of MariaDB Connector/Python.

Notable Changes

  • Implemented __enter__() and __exit__() methods for with statements (PEP-343). These methods are available now for connection and cursor classes. (CONPY-46)

  • Accept List of parameters for execute() method. (CONPY-48)

Issues Fixed

  • When sending parameters PyBool_Type wasn't supported. In case a boolean type (True or False) will be provided as a parameter, it will be converted to a TINYINT (MYSQL_TYPE_TINY). (CONPY-47)

  • Added support for Decimal type. (CONPY-49)

    • When retrieving data with column type MYSQL_TYPE_NEWDECIMAL MariaDB Connector/Python now loads the decimal module and converts data from string into Pythons decimal.Decimal type.

    • When sending a decimal.Decimal parameter, value will be converted to string and sent with type MYSQL_TYPE_NEWDECIMAL to the Server.

  • Store field_count internally for buffered cursors to prevent overriding/clearing the value by connection methods which directly send commands to database server. (CONPY-51)

  • Fixed double free of result-set. (CONPY-52)