]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add additional parsing to extract the "MariaDB" keyword from version string
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 23 Apr 2019 22:33:08 +0000 (17:33 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 6 Jul 2019 13:55:34 +0000 (09:55 -0400)
commit5edd50c0c820cb239813f7c72aaede40767f9891
tree1df436a25def0593ddd5e3b32556665e39e07f17
parent332eff7ddf1bf4d0daaffeb09305e27b7f1f93cb
Add additional parsing to extract the "MariaDB" keyword from version string

Enhanced MySQL/MariaDB version string parsing to accommodate for exotic
MariaDB version strings where the "MariaDB" word is embedded among other
alphanumeric characters such as "MariaDBV1".   This detection is critical in
order to correctly accomodate for API features that have split between MySQL
and MariaDB such as the "transaction_isolation" system variable.

Fixes: #4624
Change-Id: Iba4b56535855629a974b1e24e012b07383d24199
(cherry picked from commit 95dd8768d430b667ef2d7c104733aff2bae757b2)
doc/build/changelog/unreleased_13/4624.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
test/dialect/mysql/test_dialect.py