]> source.dussan.org Git - nextcloud-server.git/commit
HHVM: In APC cache clear, only request the cache key in APCIterator.
authorAndreas Fischer <bantu@owncloud.com>
Fri, 19 Dec 2014 02:24:00 +0000 (03:24 +0100)
committerAndreas Fischer <bantu@owncloud.com>
Fri, 19 Dec 2014 02:24:00 +0000 (03:24 +0100)
commit0ba5c182f0d4486e4b970fbadfe064a6d1440753
treec5f51a1552ab6a716aa9564b0032241f432965b4
parent3036a8714d67c7d9fa0fc6fc6bdfdce1a090f1d9
HHVM: In APC cache clear, only request the cache key in APCIterator.

The default value of the $format parameter of the APCIterator constructur is
APC_ITER_ALL which instructs the iterator to provide all available information
on cache values being iterated over. Only the key value is necessary for
matching and deletion via apc_delete(), though.

This prevents a "Format values FILENAME, DEVICE, INODE, MD5, NUM_HITS, MTIME,
CTIME, DTIME, ATIME, REFCOUNT not supported yet." notice on HHVM.
lib/private/memcache/apc.php