]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Correct for MySQL 8.0 table and schema names in FK reflection
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Jul 2019 18:07:21 +0000 (14:07 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Jul 2019 18:12:58 +0000 (14:12 -0400)
commit9a6654e3af74710b55feb6b5b0218dc767d7013b
treeab0bda70517250db8dd1f26c7be93cb052121a88
parentaef6e625ba5799bf5935ba3acbb62a37c9e577ca
Correct for MySQL 8.0 table and schema names in FK reflection

Added another fix for an upstream MySQL 8 issue where a case sensitive
table name is reported incorrectly in foreign key constraint reflection,
this is an extension of the fix first added for :ticket:`4344` which
affects a case sensitive column name.  The new issue occurs through MySQL
8.0.17, so the general logic of the 88718 fix remains in place.

.. seealso::

    https://bugs.mysql.com/bug.php?id=96365 - upstream bug

Fixes: #4751
Change-Id: I391903565db919b85b6b3c62c28f4b90ee596135
doc/build/changelog/unreleased_13/4751.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
test/dialect/mysql/test_reflection.py