Opened 17 years ago
Closed 17 years ago
#6008 closed (duplicate)
The add() method of the locmem's CacheClass doesn't pickle the value
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Core (Cache system) | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The method doesn't pickle the value before passing it to its super-method. If the meaning of add()
is the same as for add
in Memcached (the method adds to the cache, only if it doesn't already exist), then it should cache the same (i. e. pickled) value as set()
.
Note:
See TracTickets
for help on using tickets.
dup of #5981.