objectcache: Actually unserialize integers as integers in RedisBagOStuff
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 26 Jun 2014 23:03:22 +0000 (01:03 +0200)
committerKrinkle <krinklemail@gmail.com>
Thu, 26 Jun 2014 23:06:39 +0000 (23:06 +0000)
commiteb0a3b78300cd1de8276a76f9b7ee11e6a60e226
tree0ab6c394d626c2393c0c32b13688424f81c62fe0
parent3dde137144d37b39d5c42f1492a15c59fa42ac55
objectcache: Actually unserialize integers as integers in RedisBagOStuff

Before:
> SET   (stored)    GET
>  5     5          (string) "5"
>  '5'   5          (string) "5"
>  'x'   s:1:"x";   (string) "x"

After:
> SET   (stored)    GET
>  5     5          (int) 5
>  '5'   s:1:"5";   (string) "5"
>  'x'   s:1:"x";   (string) "x"

Follows-up 2ceda41c5783ddc3cfb.

Bug: 60563
Change-Id: I2bb09381b2bb733ac5a89175e053cb10eca68b08
includes/objectcache/RedisBagOStuff.php