Kaydet (Commit) df1796b1 authored tarafından Tim Graham's avatar Tim Graham Kaydeden (comit) GitHub

Removed unused branch in SQLUpdateCompiler.as_sql().

Unknown if it was ever needed.
üst 419de7b0
......@@ -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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment