]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Support control char reflection in mysql mariadb
authorFederico Caselli <cfederico87@gmail.com>
Sat, 29 Apr 2023 10:07:32 +0000 (12:07 +0200)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 30 Apr 2023 15:14:22 +0000 (11:14 -0400)
commit23a4538b0b1e750d09392e1c7eca67b1356294d8
tree920641296ff3cd064cf0b33673475a1427d11499
parent39c8e95b1f50190ff30a836b2bcf13ba2cacc052
Support control char reflection in mysql mariadb

Fixed issues regarding reflection of comments for :class:`_schema.Table`
and :class:`_schema.Column` objects, where the comments contained control
characters such as newlines. Additional testing support for these
characters as well as extended Unicode characters in table and column
comments (the latter of which aren't supported by MySQL/MariaDB) added to
testing overall.

Fixes: #9722
Change-Id: Id18bf758fdb6231eb705c61eeaf74bb9fa472601
doc/build/changelog/unreleased_20/9722.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/reflection.py
lib/sqlalchemy/engine/row.py
lib/sqlalchemy/testing/requirements.py
lib/sqlalchemy/testing/suite/test_reflection.py
test/dialect/mysql/test_reflection.py
test/requirements.py