]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
escape percents for mysql enum and add suite tests
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Aug 2024 19:51:00 +0000 (15:51 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 1 Aug 2024 19:51:32 +0000 (15:51 -0400)
commit7c9dd6bd3359581f13184e3134c0d285fb466921
treeced55380b952e5fd0609a3e32c5ee51933efe25e
parent6f85fb4c34fc4e2697a286a1a8d74428c0235c1b
escape percents for mysql enum and add suite tests

Fixed issue in MySQL dialect where ENUM values that contained percent signs
were not properly escaped for the driver.

Fixes: #11479
Change-Id: I40d9aba619618603d3abb466f84a793d152b6788
(cherry picked from commit 2afb138d310da41d17f9e3dc9fa9339b52e7a9a4)
doc/build/changelog/unreleased_20/11479.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/testing/suite/test_types.py