#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 Florian Apolloner):
> if Django AUTOCOMMIT defaults to True, we'd expect it to behave the same
as DB autocommit global, even if it's not exactly the same.
I disagree, I'd expect `autocommit` behavior no matter what the database
defaults are.
> Something that puzzles me is that Django already sets autocommit=1
Mhm, I am not really a MySQL user, but I guess an SQL log from a MySQL
server illustrating that issue might shed some light on it?
--
Ticket URL: <https://code.djangoproject.com/ticket/31632#comment:5>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.359f8994e0174f3f9e997e049478a72c%40djangoproject.com.