]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Accommodate for mariadb 10.2 function reflection style
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 4 Oct 2017 20:01:33 +0000 (16:01 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 5 Oct 2017 14:19:16 +0000 (10:19 -0400)
commitc2745d4790b60ab7c5c0dd3a4484f5004e4fdb35
treefbe1c76afeac3216cf57fbce49c8a5ad7a2496b2
parent529cd45dbd6c78a4bd64f1b99a7b7bd6544564a7
Accommodate for mariadb 10.2 function reflection style

Fixed bug where server default comparison of CURRENT_TIMESTAMP would fail
on MariaDB 10.2 due to a change in how the function is
represented by the database during reflection.

Also implement mariadb 10.2 checks from SQLAlchemy to skip
other CHECK contraint related tests that can't pass.

Change-Id: Id77b527d3215d06e2f44a6cddeb77583e5b39101
Fixes: #455
alembic/ddl/mysql.py
alembic/util/sqla_compat.py
docs/build/unreleased/455.rst [new file with mode: 0644]
tests/requirements.py
tests/test_batch.py