]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Fix for caching with compound keys: add Managed_DataObject::_allCacheKeys() to overri...
authorBrion Vibber <brion@pobox.com>
Thu, 29 Sep 2011 01:32:43 +0000 (18:32 -0700)
committerBrion Vibber <brion@pobox.com>
Thu, 29 Sep 2011 01:32:43 +0000 (18:32 -0700)
commit69765a055074d00b723f5ebf0c13a4e2837a93f9
tree1a5454e5c54d3478cd9009d97425d3d070ea3858
parent797e187acbe4585fdbadd23e6c1d554d388a9be5
Fix for caching with compound keys: add Managed_DataObject::_allCacheKeys() to override the one in Memcached_DataObject.

Memcached_DataObject doesn't quite fully understand unique indexes, and can't properly build cache keys for compound unique or primary keys.
Managed_DataObject has more information in its schema data, so we can build a proper list.
classes/Managed_DataObject.php
classes/User_im_prefs.php