]> 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:00 +0000 (09:42 +0200)
commit40e990aab3f92051f3c693a81de938ab3b4eb5e4
tree540145ebc47d0e7a6f86ad332836846510475cf6
parentfe03298593e59e5d40de81e7f864690e73930666
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
doc/build/changelog/unreleased_20/11317.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/base.py
test/dialect/mysql/test_compiler.py