]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
ensure ON UPDATE test is case insensitive
authorAlexander Ruehe <alexander.ruehe@volkswagen.de>
Tue, 1 Apr 2025 21:52:12 +0000 (17:52 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 2 Apr 2025 15:23:00 +0000 (11:23 -0400)
commit6f8f4a7d620f19afce8b8d43c25ff5ca5a466038
treefa4657b0d378c1a0293ae3df7146cc356105e4b3
parent77d8609d7bb51b70072cb6019dc6d839e0484549
ensure ON UPDATE test is case insensitive

Fixed regression caused by the DEFAULT rendering changes in 2.0.40
:ticket:`12425` where using lowercase `on update` in a MySQL server default
would incorrectly apply parenthesis, leading to errors when MySQL
interpreted the rendered DDL.  Pull request courtesy Alexander Ruehe.

Fixes: #12488
Closes: #12489
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/12489
Pull-request-sha: b9008f747d21bc06a4006c99a47fc6aa99407636

Change-Id: If5281c52415e4ddb6c2f8aee191d2335f6673b35
doc/build/changelog/unreleased_20/12488.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
test/dialect/mysql/test_compiler.py
test/dialect/mysql/test_query.py