summaryrefslogtreecommitdiff
path: root/classes/Group_alias.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-04 10:00:17 -1000
committerEvan Prodromou <evan@status.net>2010-01-04 10:00:17 -1000
commitabc9b332412921e7ae7f730b23e186bcba412486 (patch)
tree12b7dd4a670a5d082e8f583d696c6080824ebd01 /classes/Group_alias.php
parenta1821ec8afd40c3ab88546a8fa2e6fc03a19ad25 (diff)
Memcached_DataObject stores empty values in the cache
There's great value in knowing that something doesn't exist. We now cache this information, and carefully compare the results from cache as $results !== false instead of !empty($results), since some empty values (null, 0, empty array, empty string) are stored in the cache. Caching staticGet() and pkeyGet() now store DB misses in the cache, and cachedQuery() checks for empty results from the cache.
Diffstat (limited to 'classes/Group_alias.php')
0 files changed, 0 insertions, 0 deletions