#19638 closed Cleanup/optimization (fixed)
Oracle: add "supports_transactions=True" to DatabaseFeatures
| Reported by: | Shai Berger | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | 1.4 |
| Severity: | Normal | Keywords: | oracle |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Oracle supports transactions. Writing this into the backend, instead of relying on the default test, saves a little work (per thread) and removes a requirement for table-creation permissions.
(This used to cause testing issues with Django 1.3, nowadays it's just a minor thing. Supported by Ian Kelly, https://groups.google.com/d/msg/django-developers/UASD8v7qQkg/k7pxdGfgEioJ).
Patch: in django/db/backends/oracle/base.py, line 87, add this new line:
supports_transactions=True
Thanks, Shai.
Change History (3)
comment:1 by , 13 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Seems valid.