]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Reflect ASC/DESC in MySQL index columns
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 28 Jun 2018 18:33:14 +0000 (14:33 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 28 Jun 2018 20:40:46 +0000 (16:40 -0400)
commit2d5e206bf99c28e36984eddd413a04cdb358c900
tree361a71e21adc43975f44bbd2b3edccad95995606
parente81102fbd7e03713ffd0e25b39da4952a75e26e6
Reflect ASC/DESC in MySQL index columns

Fixed bug in index reflection where on MySQL 8.0 an index that includes
ASC or DESC in an indexed column specfication would not be correctly
reflected, as MySQL 8.0 introduces support for returning this information
in a table definition string.

Change-Id: I21f64984ade690aac8c87dbe3aad0c1ee8e9727f
Fixes: #4293
(cherry picked from commit 9d2dc7911b7767b97814479d228072b6f566a864)
doc/build/changelog/unreleased_12/4293.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/reflection.py
test/dialect/mysql/test_reflection.py