summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_array.py
diff options
context:
space:
mode:
authorEmre Yilmaz <emre.yilmaz@markafoni.com>2015-12-02 12:34:31 +0200
committerTim Graham <timograham@gmail.com>2015-12-04 12:28:34 -0500
commit9733ff5f991356ac98d499f24f2241141863a555 (patch)
tree423497aeef1f25ad33d87d4713768eb343e9a3e9 /tests/postgres_tests/test_array.py
parentdcac10061245bbbe00d574194e9b4aebd67e0ac6 (diff)
[1.9.x] Fixed #25840 -- Fixed BaseCache.get_or_set() on the DummyCache backend.
This also fixes a possible data eviction race condition between setting and getting a key. Another thread could remove the key before get_and_set() accesses it again. In this case, now the default value will be returned instead of None. Backport of 8e838d9c869083597dc9e161ae2fe37acaa90de9 from master
Diffstat (limited to 'tests/postgres_tests/test_array.py')
0 files changed, 0 insertions, 0 deletions