MariaDB Connector/Python 0.9.56 beta Release Notes
Note: This page describes features in the source repository for the MariaDB Connector/Python. There are currently no official packages or binaries available for download which contain the version of the driver described here. If you want to try out any of the new features described here you will need to get and run the code yourself.
This is a beta release of the MariaDB Connector/Python and not intended for production use.
Do not use beta releases in production!
MariaDB Connector/Python enables python programs to access MariaDB and MySQL databases, using an API which is compliant with the Python DB API 2.0 (PEP-249). It is written in C and uses MariaDB Connector/C client library for client server communication.
Notable Updates
- CONPY-46: Implemented
and__enter__()
methods for with statement (PEP-343). These methods are available now for connection and cursor class.__exit__()
- CONPY-47: When sending parameters PyBool_Type wasn't supported. In case a boolean type (True/False) will be provided as a parameter, it will be converted to a tinyint (MYSQL_TYPE_TINY).
- CONPY-48: Accept List of parameters for execute() method
- CONPY-49: Added support for Decimal type
- When retrieving data with column type MYSQL_TYPE_NEWDECIMAL Connector/Python now loads the decimal module and converts data from string into Pythons decimal.Decimal type.
- Wnen sending a decimal.Decimal parameter, value will be converted to string and send with type MYSQL_TYPE_NEWDECIMAL to server.
- CONPY-51: Store field_count internelly for buffered cursors to prevent overriding/clearing the value by connection methods which directly send commands to database server.
- CONPY-52: Fixed double free of resultset.
Changelog
For a list of changes made in this release, with links to detailed information on each push, see the changelog.
Do not use beta releases in production!