Re: [Django] #36112: DatabaseOperations.format_debug_sql() crashes when query fails to execute on some backends (was: DatabaseOperations.format_debug_sql() crashes on Oracle)
5 views
Skip to first unread message
Django
unread,
Jan 20, 2025, 7:25:24 PM1/20/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-...@googlegroups.com
#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
-----------------------------------+--------------------------------------
Changes (by Tim Graham):
* cc: Mariusz Felisiak (added)
* summary: DatabaseOperations.format_debug_sql() crashes on Oracle =>
DatabaseOperations.format_debug_sql() crashes when query fails to
execute on some backends
It may be useful to see the failing query in the logs, but I'm open to
other opinions about this. The pre-
d8f093908c504ae0dbc39d3f5231f7d7920dde37 behavior is to log `(0.000)
NONE; args=<actual params>; ALIAS=DEFAULT`.
--
Ticket URL: <https://code.djangoproject.com/ticket/36112#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.