]> 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>
Fri, 29 Sep 2017 22:45:36 +0000 (18:45 -0400)
commit8948d961b2f32c1a70cd4d2aeea0573833a83839
tree1287b5fc05b01d2301053a61eefd033b63eac40c
parent917a971764d3aca120b22b39f18441562d723285
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
(cherry picked from commit 68b52c48b775f9a99d0bc3666ebe02c54e401303)
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