#26804: update_or_create() updates all columns, which could cause a race
condition
-------------------------------------+-------------------------------------
Reporter: jensen-cochran | Owner: jensen-
| cochran
Type: Bug | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: update_or_create | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"d44afd889275473c97474cca19467d1509e0fcc1" d44afd88]:
{{{
#!CommitTicketReference repository=""
revision="d44afd889275473c97474cca19467d1509e0fcc1"
Fixed #26804 -- Fixed a race condition in QuerySet.update_or_create().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26804#comment:9>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/072.3bc3e8cc62d63e5d9e33c824279b7caf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.