Cached misses in getMulti should be omitted
authorMatthias Mullie <git@mullie.eu>
Thu, 22 May 2014 13:48:20 +0000 (15:48 +0200)
committerMatthias Mullie <git@mullie.eu>
Thu, 22 May 2014 15:19:22 +0000 (17:19 +0200)
commit63b22fe634748c98e259130c4b3862b1619ec3b3
treeb8072769289c73b647c53110b1c712aa4418196d
parentbe76751e8c7a8c33b8a9f41faba78592a22ded09
Cached misses in getMulti should be omitted

SqlBagOStuff::getMulti currently returns an array with false values for missed
cache keys.
Default BagOStuff::getMulti (and other specific implementations like memcached),
however, just omit missed values.

e.g.:

    $cache->getMulti( array( 'goodkey' 'badkey' ) );

should return

    array( 'goodkey' => 'value' );

instead of

    array( 'goodkey' => 'value', 'badkey' => false );

Bug: 65637
Change-Id: Ib2de06a0f76421094707f7ad4218346087f4dc55
includes/objectcache/SqlBagOStuff.php