Removed unneeded code in explain_query_prefix()
This commit is contained in:
parent
2eea361eff
commit
a32876606f
|
@ -320,7 +320,7 @@ class DatabaseOperations(BaseDatabaseOperations):
|
||||||
for valid_option in self.explain_options:
|
for valid_option in self.explain_options:
|
||||||
value = options.pop(valid_option, None)
|
value = options.pop(valid_option, None)
|
||||||
if value is not None:
|
if value is not None:
|
||||||
extra[valid_option.upper()] = value
|
extra[valid_option] = value
|
||||||
prefix = super().explain_query_prefix(format, **options)
|
prefix = super().explain_query_prefix(format, **options)
|
||||||
if format:
|
if format:
|
||||||
extra["FORMAT"] = format
|
extra["FORMAT"] = format
|
||||||
|
|
Loading…
Reference in New Issue