#19638: Oracle: add "supports_transactions=True" to DatabaseFeatures
----------------------------------------------+--------------------
     Reporter:  shai                          |      Owner:  nobody
         Type:  Cleanup/optimization          |     Status:  new
    Component:  Database layer (models, ORM)  |    Version:  1.4
     Severity:  Normal                        |   Keywords:  oracle
 Triage Stage:  Unreviewed                    |  Has patch:  1
Easy pickings:  0                             |      UI/UX:  0
----------------------------------------------+--------------------
 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.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19638>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to