]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
build the full compilestate every time
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 28 Sep 2020 03:18:57 +0000 (23:18 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 28 Sep 2020 03:18:57 +0000 (23:18 -0400)
commit92a8ead72476d83cbd6ecb10d791c489ea6fa013
tree76a0f7440bc744d7dbb98c3dbcfbb8065ebd58c8
parentb2a991dd8ec6dad248ec93129965271c63bb312a
build the full compilestate every time

the ORMSelectCompileState was trying to get away with
not building out the "froms" list of the state, but we need
this for select.froms.   Build this out and add some tests
for select(), including some other state-oriented use cases.

Fixes: #5614
Change-Id: I29ca200f292cbae87c722bc97a89d7c453d7d27a
lib/sqlalchemy/orm/context.py
test/orm/test_core_compilation.py
test/profiles.txt