mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Removed unused branch in SQLUpdateCompiler.as_sql().
Unknown if it was ever needed.
This commit is contained in:
parent
419de7b00d
commit
df1796b13f
1 changed files with 0 additions and 2 deletions
|
@ -1135,8 +1135,6 @@ class SQLUpdateCompiler(SQLCompiler):
|
|||
update_params.append(val)
|
||||
else:
|
||||
values.append('%s = NULL' % qn(name))
|
||||
if not values:
|
||||
return '', ()
|
||||
table = self.query.tables[0]
|
||||
result = [
|
||||
'UPDATE %s SET' % qn(table),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue