]> 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>
Thu, 28 Sep 2017 23:22:17 +0000 (19:22 -0400)
commit29b752f8b24909c9c715e1b2c5e01119d1f46aa7
tree185996396104825d3698a37782ead35ddeae4522
parent68b52c48b775f9a99d0bc3666ebe02c54e401303
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
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