#14026: Setting for TRANSACTION_LEVEL on db backends
---------------------------------------------------+------------------------
          Reporter:  adamnelson                    |         Owner:  nobody
            Status:  closed                        |     Milestone:        
         Component:  Database layer (models, ORM)  |       Version:  1.2   
        Resolution:  invalid                       |      Keywords:        
             Stage:  Unreviewed                    |     Has_patch:  0     
        Needs_docs:  0                             |   Needs_tests:  0     
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Changes (by [email protected]):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 Replying to [comment:1 sebastian_noack]:
 > I have written in my blog about an issue raised due to wrong isolation
 level in MySQL.
 >
 > http://www.no-ack.org/2010/07/mysql-transactions-and-django.html

 You certainly can do this already with the OPTIONS key on the Database
 dictionary, see
 http://docs.djangoproject.com/en/dev/ref/settings/#options

 To set ISOLATION LEVEL use something like {"init_command": "SET SESSION
 TRANSACTION ISOLATION LEVEL $DESIRED_ISOLATION_LEVEL"}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14026#comment:2>
Django <http://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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to