diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-10-19 10:19:29 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-10-19 13:13:15 -0400 |
| commit | 3e49b8d0519aa024842206a2fb664a4ad83796d6 (patch) | |
| tree | 9eb3cf01a68c42bb77a0bf76e99865d7c6370262 /lib/sqlalchemy/sql/lambdas.py | |
| parent | 296c84313ab29bf9599634f38caaf7dd092e4e23 (diff) | |
| download | sqlalchemy-3e49b8d0519aa024842206a2fb664a4ad83796d6.tar.gz | |
Ensure no compiler visit method tries to access .statement
Fixed structural compiler issue where some constructs such as MySQL /
PostgreSQL "on conflict / on duplicate key" would rely upon the state of
the :class:`_sql.Compiler` object being fixed against their statement as
the top level statement, which would fail in cases where those statements
are branched from a different context, such as a DDL construct linked to a
SQL statement.
Fixes: #5656
Change-Id: I568bf40adc7edcf72ea6c7fd6eb9d07790de189e
Diffstat (limited to 'lib/sqlalchemy/sql/lambdas.py')
0 files changed, 0 insertions, 0 deletions
