]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Support mariadb 10.2
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 19 Aug 2017 22:39:08 +0000 (18:39 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 29 Sep 2017 17:21:16 +0000 (13:21 -0400)
commit917a971764d3aca120b22b39f18441562d723285
tree2abdd6ac0852865f7ccb4ad6c35380605d601959
parentc03607829910d386a089e3c37125669b838b0763
Support mariadb 10.2

Fixed issue where CURRENT_TIMESTAMP would not reflect correctly
in the MariaDB 10.2 series due to a syntax change, where the function
is now represented as ``current_timestamp()``.

Fixes: #4096
MariaDB 10.2 now supports CHECK constraints (warning: use version 10.2.9
or greater due to upstream issues noted in :ticket:`4097`).  Reflection
now takes these CHECK constraints into account when they are present in
the ``SHOW CREATE TABLE`` output.

Fixes: #4098
Change-Id: I8666d61814e8145ca12cbecad94019b44af868e3
(cherry picked from commit 29b752f8b24909c9c715e1b2c5e01119d1f46aa7)
doc/build/changelog/unreleased_11/4096.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/mysql/reflection.py
test/dialect/mysql/test_reflection.py
test/engine/test_reflection.py
test/requirements.py
test/sql/test_types.py