Oracle: add "supports_transactions=True" to DatabaseFeatures
|Reported by:||Shai Berger||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||1.4|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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: