#36112: DatabaseOperations.format_debug_sql() crashes when query fails to 
execute
on some backends
-----------------------------------+--------------------------------------
     Reporter:  Jacob Walls        |                    Owner:  Tim Graham
         Type:  Bug                |                   Status:  assigned
    Component:  Testing framework  |                  Version:  dev
     Severity:  Release blocker    |               Resolution:
     Keywords:                     |             Triage Stage:  Accepted
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+--------------------------------------
Comment (by Mariusz Felisiak):

 > ... or `DatabaseOperations.last_executed_query()` subclass
 implementations could fall back to
 ​`BaseDatabaseOperations.last_executed_query()` rather than returning
 `None`.

 This sound like a great idea for me.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36112#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/010701948d6aba10-0978ca88-2149-4272-bfa8-a1aed5608679-000000%40eu-central-1.amazonses.com.

Reply via email to