]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fixed syntax error in mysql function defaults
authorhuuyafwww <huuya1234fwww@gmail.com>
Sat, 5 Oct 2024 06:04:13 +0000 (02:04 -0400)
committerFederico Caselli <cfederico87@gmail.com>
Sat, 5 Oct 2024 07:42:16 +0000 (09:42 +0200)
commit28e08dc007dee811596bb3b9d7be1cf611ee3bc8
tree84b7015c296fcea750dffa75057d6f8e8e25defe
parent063b96e0c992cd5a9f2fa5163d40dbe14dd4c3ff
Fixed syntax error in mysql function defaults

Fixed a bug that caused a syntax error when a function was specified
to server_default when creating a column in MySQL or MariaDB.

Fixes #11317
Closes: #11953
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/11953
Pull-request-sha: d93ac419a9201134e9c4845dd2e4dc48db4b6f78

Change-Id: I67fc83867df2b7dcf591c8f53b7a97afb90ebba9
(cherry picked from commit 40e990aab3f92051f3c693a81de938ab3b4eb5e4)
doc/build/changelog/unreleased_20/11317.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
test/dialect/mysql/test_compiler.py