objectcache: fix race condition in SqlBagOStuff::changeTTL
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 27 Mar 2019 00:05:48 +0000 (17:05 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 27 Mar 2019 00:06:21 +0000 (17:06 -0700)
commit861683b7221bba90a3fe3270dd3073f106ce5f6e
treefa274828ece40428178e78f73e920f88b719c692
parent7d0a4d066750cc58098ca55edc29fe72803931dd
objectcache: fix race condition in SqlBagOStuff::changeTTL

Also fix --use-bagostuff parameter when given 0

Change-Id: I64971d4ccad2c856cc7688577ae564c8db068819
includes/objectcache/SqlBagOStuff.php
tests/phpunit/includes/libs/objectcache/BagOStuffTest.php