]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Turn on testing for JSON under Mariadb 10.2.7 and greater
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 5 Jan 2018 20:42:34 +0000 (15:42 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 12 Jan 2018 16:21:28 +0000 (11:21 -0500)
commitfa2f0c93e6d5be42b21aaf3c63290a276ae4cb75
treedd06f45e5d9dbd09357a2654e49a6a93f460ece8
parent3316890ffa9a51471ca7618e4a13e45494e03198
Turn on testing for JSON under Mariadb 10.2.7 and greater

MariaDB adds a JSON alias for the LONGTEXT datatype and
all the same json functions work against it in any case.
What doesn't work is reflection, since it's just an alias,
and also the CAST we were using in one of our tests doesn't seem
to work for JSON which is probably also because it's not
a real datatype.

Change-Id: I44e5503db29ca2f04de8e521527978f34675a5e0
lib/sqlalchemy/testing/suite/test_types.py
test/dialect/mysql/test_types.py
test/requirements.py