]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Ensure schema-level table includes annotations in caching
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Feb 2020 15:44:14 +0000 (10:44 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Feb 2020 15:47:05 +0000 (10:47 -0500)
commit996654df341a30b539434bb4fd1e0d53f46641a0
treee3b0c59b3f4752df03ecd47b039997e98c4627d0
parentca16c53651f819e9587ed29d7d1d7d937e7f25ce
Ensure schema-level table includes annotations in caching

In 29330ec159 we ensured that annotations are part of cache keys.
However we failed to do so for the schema-level Table which
will definitely need to distinguish between ORM and non-ORM
annotated tables when caching, so ensure this is part of the
cache key.

Change-Id: I8d996873f2d7fa63230ef837db7e69a0101973b2
lib/sqlalchemy/sql/schema.py
test/sql/test_compare.py