#31632: Single queries without transaction do not follow AUTOCOMMIT
-------------------------------------+-------------------------------------
     Reporter:  Filipe Pina          |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  new
    Component:  Database layer       |                  Version:  2.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Simon Charette):

 Ahh that makes sense.

 > Correction, mysql-connector-python works since it manually send SET
 @@session.autocommit = OFF|ON

 I guess we could then adjust `set_autocommit` to call directly
 `_mysql.connection.autocommit(self, value)` when `mysqlclient` is used
 under a certain version since I assume they'll be interested in addressing
 that on their side?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31632#comment:13>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.fa8abc293bec79a2bbbec0132d9b5667%40djangoproject.com.

Reply via email to