]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
support utf8mb3 char encoding fully for mysqlclient, others
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 Oct 2021 15:53:55 +0000 (11:53 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 Oct 2021 20:54:33 +0000 (16:54 -0400)
commit71e463506217e3acc379a3f459e68a81792a0aac
treebc9d0c289e7e8d5bc2163af5d750d74431861dcc
parent1da5029df2e1e346ab9cab9ae3bdbd702ebf1b05
support utf8mb3 char encoding fully for mysqlclient, others

Fixes to accommodate for the MariaDB 10.6 series, including backwards
incompatible changes in both the mariadb-connector Python driver (supported
on SQLAlchemy 1.4 only) as well as the native 10.6 client libraries that
are used automatically by the mysqlclient DBAPI (applies to both 1.3 and
1.4). The "utf8mb3" encoding symbol is now reported by these client
libraries when the encoding is stated as "utf8", leading to lookup and
encoding errors within the MySQL dialect that does not expect this symbol.
Updates to both the MySQL base library to accommodate for this utf8mb3
symbol being reported as well as to the test suite. Thanks to Georg Richter
for support.

Fixes: #7136
Fixes: #7115
Change-Id: I655d9d9868aef76037023d0c602b8a7c881780b0
doc/build/changelog/unreleased_13/7115.rst [new file with mode: 0644]
doc/build/changelog/unreleased_14/7115.rst [deleted file]
test/dialect/mysql/test_dialect.py