Last modified: 2011-11-19 20:01:52 UTC
Created attachment 4821 [details]
(patched against r33276)
Some of the methods of the memcached class do not take into account the possibility of predefined hashes for keys [array(hash, key)]. The get_multi method already handles these hashes correctly, and this patch only allows the other methods to do the same. This does not alter existing behavior for simple string keys.
fixed severity - not an enhancement
Keywords: need-review, easy.
Will ask Brion to take a quick look at this; patch seems pretty simple.
Ugh, this is some scary code. :D
Documentation comments all indicate that $key parameters are to be strings. If arrays are also a possibility, please update the documentation in the class to indicate the proper way to make calls.
Changed from easy.