]> 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:54:26 +0000 (08:54 -0400)
commit44be2ef4484345298825f547e21d2881cc4921a9
treee8c33500c74d837e6966a8611ebbc6e91afe3c60
parente51ff826b9374cadb8eded370a808bc4dcbe56ba
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
doc/build/changelog/unreleased_20/11832.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/sqlite/base.py
test/dialect/test_sqlite.py