diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2023-05-09 14:56:55 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2023-05-09 14:56:55 +0000 |
| commit | 946e71efdfc93777027f4fd7360a524051be393d (patch) | |
| tree | d64871a5acca93a629c1f62ef40ab11dbbbc38f4 /lib/sqlalchemy/dialects/mysql | |
| parent | ddd25a03743543ed9a7f0a9516d3bfa2528b9fce (diff) | |
| parent | 4a62625d99470c8928422c4822df5234b93b6bb8 (diff) | |
| download | sqlalchemy-946e71efdfc93777027f4fd7360a524051be393d.tar.gz | |
Merge "implement FromLinter for UPDATE, DELETE statements" into main
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql')
| -rw-r--r-- | lib/sqlalchemy/dialects/mysql/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/base.py b/lib/sqlalchemy/dialects/mysql/base.py index 2ed2bbc7a..ae40fea99 100644 --- a/lib/sqlalchemy/dialects/mysql/base.py +++ b/lib/sqlalchemy/dialects/mysql/base.py @@ -1657,13 +1657,13 @@ class MySQLCompiler(compiler.SQLCompiler): ): return None - def delete_table_clause(self, delete_stmt, from_table, extra_froms): + def delete_table_clause(self, delete_stmt, from_table, extra_froms, **kw): """If we have extra froms make sure we render any alias as hint.""" ashint = False if extra_froms: ashint = True return from_table._compiler_dispatch( - self, asfrom=True, iscrud=True, ashint=ashint + self, asfrom=True, iscrud=True, ashint=ashint, **kw ) def delete_extra_from_clause( |
