]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix regular expression for `SQLiteDialect.get_check_constraints`
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 4 Sep 2024 12:45:52 +0000 (08:45 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 4 Sep 2024 12:56:24 +0000 (08:56 -0400)
commitc4282ecd253bf509caf9ad0a1535b5612a369f30
tree3af58d769ad0eba23b5c751dc2637947d145b713
parent3d879a4413ae8c004b5613fde4003ce186ec51db
Fix regular expression for `SQLiteDialect.get_check_constraints`

Fixed regression in SQLite reflection caused by :ticket:`11677` which
interfered with reflection for CHECK constraints that were followed
by other kinds of constraints within the same table definition.   Pull
request courtesy Harutaka Kawamura.

Fixes: #11832
Closes: #11834
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/11834
Pull-request-sha: a10fcef45ccfad6ebf17ec94fc48d0965f0d4123

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