]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Remove deprecation warnings mysql5 7 20
authorDaniel Thorell <(none)>
Fri, 20 Oct 2017 16:59:55 +0000 (12:59 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 23 Oct 2017 23:06:28 +0000 (19:06 -0400)
commit71c9b49141872f33773d905072a554a923d505ea
tree92f360958f90d6c2110be5c25a4830d480cabf6b
parent9b898ed142a89a5d4116bb0d4cc52aeb9d1c470e
Remove deprecation warnings mysql5 7 20

MySQL 5.7.20 now warns for use of the @tx_isolation variable; a version
check is now performed and uses @transaction_isolation instead
to prevent this warning.

For 1.1, also backport our_warn() test fixture fix from
9f0fb6c601 1.2 branch.

(cherry picked from commit 41cfe44b5e5806b3d3b13949e41dbb347bfa29e1)
Co-authored by: Mike Bayer <mike_mp@zzzcomputing.com>
Fixes: #4120
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/391
Change-Id: I4d2e04df760c5351a71dde8b32145cdc69fa6115
doc/build/changelog/unreleased_11/4120.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/testing/assertions.py