]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Reflect broader range of check constraints for SQLite.
authorJeff Horemans <jeff.horemans@vortex-financials.be>
Tue, 13 Aug 2024 15:22:51 +0000 (11:22 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 13 Aug 2024 20:45:20 +0000 (16:45 -0400)
commit13f067024591f459833b7744297d925e421c0fe1
tree1ac8479f6b81a9cad2001374b20f4412f2284347
parent1f58ce14568ec59dc7f8125caa736c2acbf40e89
Reflect broader range of check constraints for SQLite.

Improvements to the regex used by the SQLite dialect to reflect the name
and contents of a CHECK constraint.  Constraints with newline, tab, or
space characters in either or both the constraint text and constraint name
are now properly reflected.   Pull request courtesy Jeff Horemans.

Fixes: #11677
Closes: #11701
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/11701
Pull-request-sha: b2d629f18695ecb08cddeb99d7c2573e1f3d04b2

Change-Id: I2dd06c778e7c130848e418a80004032eb6144e6d
(cherry picked from commit 4c8469947d79766813bc9326ef16c25ff6882f53)
doc/build/changelog/unreleased_20/11677.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/sqlite/base.py
test/dialect/test_sqlite.py