Bug 20595 - Fixed incr()/decr() functions for some caches.
authorVitaliy Filippov <vitalif@yourcmc.ru>
Fri, 25 May 2012 10:41:53 +0000 (14:41 +0400)
committerAaron <aschulz@wikimedia.org>
Thu, 30 Aug 2012 01:35:24 +0000 (18:35 -0700)
commit359d2fd2f93d9b5373d06a1965936a9bb36480a3
tree3660d4e9e94e98f20dae79fbe4dad9e480f264e0
parente6aeec01c456cf8f0209e686749b33b3b836f549
Bug 20595 - Fixed incr()/decr() functions for some caches.

* Preserve TTL in objectcache incr() method for APC, XCache and DBA.
  Do not serialize numeric values, since it breaks the counters.
* Also gave some DBABagOStuff functions explicit visibility.

Change-Id: I13856832f418c843afc8e42a6d77686331f6cb41
includes/objectcache/APCBagOStuff.php
includes/objectcache/BagOStuff.php
includes/objectcache/DBABagOStuff.php
includes/objectcache/XCacheBagOStuff.php