memcache backend add method is inconsistent with it's other methods
|Reported by:||trbs||Owned by:||nobody|
|Component:||Core (Cache system)||Version:||master|
|Severity:||Keywords:||memcached, consistency, add|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The add method of the memcached backend uses a different approach for it's key/value pair then the other methods.
Seems to be 'left' over from past changes/fixes ?
Patch attached here aims to make 'add' consistent in terms of handling the key/value pair as it's brother the 'set' method.
Change History (4)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Ready for checkin|