Django

Code

Ticket #8410 (closed: fixed)

Opened 3 months ago

Last modified 3 months ago

memcache backend add method is inconsistent with it's other methods

Reported by: trbs Assigned to: nobody
Milestone: 1.0 Component: Cache system
Version: SVN Keywords: memcached, consistency, add
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

Split of from #7460 [1]

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.

[1] http://code.djangoproject.com/ticket/7460

Attachments

patch-django.core.backends.memcached-8410.diff (0.7 kB) - added by trbs on 08/19/08 02:47:21.

Change History

08/19/08 02:47:21 changed by trbs

  • attachment patch-django.core.backends.memcached-8410.diff added.

08/19/08 07:49:30 changed by mtredinnick

  • needs_better_patch changed.
  • needs_docs changed.
  • stage changed from Unreviewed to Ready for checkin.
  • needs_tests changed.
  • milestone set to 1.0.

08/19/08 15:36:00 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

(In [8444]) Fixed #8410 -- Added a missing piece of value encoding for the memcached backend. Patch from trbs.


Add/Change #8410 (memcache backend add method is inconsistent with it's other methods)




Change Properties
Action