diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-03-02 15:08:08 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-03-03 16:16:43 -0500 |
commit | 6ec0f97e37140666a929c36de45802c12a0f76a5 (patch) | |
tree | 5f573f4b4b4c0f8b8977fe43c2b5376a9ade243f /lib/sqlalchemy/dialects/postgresql/base.py | |
parent | 15c458d349f30af8e08b0d1fb268a968753481de (diff) | |
download | sqlalchemy-6ec0f97e37140666a929c36de45802c12a0f76a5.tar.gz |
Get MySQL version info from @@version
MySQL dialects now query the server version using ``SELECT @@version``
explicitly to the server to ensure we are getting the correct version
information back. Proxy servers like MaxScale interfere with the value
that is passed to the DBAPI's connection.server_version value so this
is no longer reliable.
Change-Id: Iafd39be8c9bf1982d58b34cc997ae1016ad6c48c
Fixes: #4205
(cherry picked from commit 9ba77e8d3b682bff89fdab5e80271a96a52fe8c8)
(cherry picked from commit 5c1ebbc3706c810f936d9e252ee5d16800e561ea)
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
0 files changed, 0 insertions, 0 deletions