]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Repair caching / traversals for values
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 1 Apr 2020 22:31:16 +0000 (18:31 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 1 Apr 2020 23:25:23 +0000 (19:25 -0400)
commit49b6c50016c8a038a6df7104560bb3945debe064
tree9b5b6b9ad6a6aba5374768afd52783fd8c2170f3
parenta9b62055bfa61c11e9fe0b2984437e2c3e32bf0e
Repair caching / traversals for values

The test suite wasn't running the copy_internals most fixtures,
enable that and try to get all cases working.

Set up selectable.values to do tuple conversion within compilation
step.  at the same time, disable caching for selectable.values
for the moment and make it equivalent to dml_multi_values.

fix cache / compare / copy cases for dml_values and dml_multi_values
which weren't fully tested or covered.

Change-Id: I484ca6e9cb2b66c2e6a321698f2abc0838db1460
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/selectable.py
lib/sqlalchemy/sql/traversals.py
test/sql/test_compare.py