diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2020-09-28 13:56:58 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-09-28 13:56:58 +0000 |
| commit | 5dcddfd37e2666c298ba934e85be2ac0140efd27 (patch) | |
| tree | 832ed6be1bec8b9d85f48081328e624a3d90c50c /lib | |
| parent | 019666a749ee2d2c941ea9244f5af64696fe8fc1 (diff) | |
| parent | 92a8ead72476d83cbd6ecb10d791c489ea6fa013 (diff) | |
| download | sqlalchemy-5dcddfd37e2666c298ba934e85be2ac0140efd27.tar.gz | |
Merge "build the full compilestate every time"
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sqlalchemy/orm/context.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sqlalchemy/orm/context.py b/lib/sqlalchemy/orm/context.py index d9e334d45..c24e04aa5 100644 --- a/lib/sqlalchemy/orm/context.py +++ b/lib/sqlalchemy/orm/context.py @@ -533,8 +533,7 @@ class ORMSelectCompileState(ORMCompileState, SelectState): # and _setup_for_generate into three or four logical sections self._setup_for_generate() - if compiler is not None: - SelectState.__init__(self, self.statement, compiler, **kw) + SelectState.__init__(self, self.statement, compiler, **kw) return self |
