]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Take schema name into account when querying sqlite_master
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 28 Sep 2017 20:47:28 +0000 (16:47 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 28 Sep 2017 20:51:35 +0000 (16:51 -0400)
commit68b52c48b775f9a99d0bc3666ebe02c54e401303
tree3bd8eca79db0f4458ec87269934e6497fdbd0145
parent21ff71b0eb032d8ffd125ba7532ca2d29a206fb9
Take schema name into account when querying sqlite_master

Fixed bug where SQLite CHECK constraint reflection would fail
if the referenced table were in a remote schema, e.g. on SQLite a
remote database referred to by ATTACH.

Also add suite support for general CHECK constraint reflection.

Change-Id: I073a72cb47dc4f8c5683000d708768523759332f
Fixes: #4099
doc/build/changelog/unreleased_11/4099.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/testing/requirements.py
lib/sqlalchemy/testing/suite/test_reflection.py
test/requirements.py