diff options
| author | Michael Sanders <michael.sanders@arm.com> | 2018-08-01 10:52:28 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-08-02 17:28:23 -0400 |
| commit | 2668418d99b42599536d353705456cf5db718d48 (patch) | |
| tree | c946240d4ad044f191f11f6f00eda860ff841e11 /tests/postgres_tests/array_default_migrations | |
| parent | 98c77c5a700eed4bd314a40ab70904db0c0adac6 (diff) | |
[1.11.x] Fixed #29499 -- Fixed race condition in QuerySet.update_or_create().
A race condition happened when the object didn't already exist and
another process/thread created the object before update_or_create()
did and then attempted to update the object, also before update_or_create()
saved the object. The update by the other process/thread could be lost.
Backport of 271542dad1686c438f658aa6220982495db09797 from master
Diffstat (limited to 'tests/postgres_tests/array_default_migrations')
0 files changed, 0 insertions, 0 deletions
