]> 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 18:34:51 +0000 (14:34 -0400)
commit9d2dc7911b7767b97814479d228072b6f566a864
treec532a3ff7ccd97bf7aa887ae2c4ca5c0991ad04c
parent6ad882c861403dc7e21ec84eec5f707fe3ffdc7b
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
doc/build/changelog/unreleased_12/4293.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/reflection.py
test/dialect/mysql/test_reflection.py