#36112: Subclasses of BaseDatabaseOperations should fall back to
super().last_executed_query() instead of returning None
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: VIZZARD-X
Type: | Status: assigned
Cleanup/optimization |
Component: Testing framework | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by VIZZARD-X):
I've updated the patch to include a proper backend regression test for
`last_executed_query()` under `tests/backends/oracle/`. The test exercises
the
Oracle backend’s fallback to `BaseDatabaseOperations` when
`cursor.statement` is
missing and is guarded so it only runs when Oracle is available.
All CI checks now pass and the PR is ready for review.
PR: https://github.com/django/django/pull/20312
--
Ticket URL: <https://code.djangoproject.com/ticket/36112#comment:16>
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/0107019ac4082f6b-465085ef-6371-40a4-a594-a2c4b382edee-000000%40eu-central-1.amazonses.com.