mirror of
https://github.com/django/django.git
synced 2025-02-07 16:05:34 +00:00
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:
|
||||
value = options.pop(valid_option, None)
|
||||
if value is not None:
|
||||
extra[valid_option.upper()] = value
|
||||
extra[valid_option] = value
|
||||
prefix = super().explain_query_prefix(format, **options)
|
||||
if format:
|
||||
extra["FORMAT"] = format
|
||||
|
Loading…
x
Reference in New Issue
Block a user