arthurnn / memcached

A Ruby interface to the libmemcached C client
Academic Free License v3.0
432 stars 125 forks source link

incr bug with prefix_key, v.1.2.5 #42

Closed kostya closed 13 years ago

kostya commented 13 years ago

s = Memcached.new "localhost:11211", {:binary_protocol => true, :prefix_key => "app-"} s.set 'key', '1', 0, false

s.get 'key', false => "1"

s.incr 'key' Memcached::NotFound: Memcached::NotFound

s.incr 'app-key' => 2

bitbckt commented 13 years ago

This was fixed by and dupes #45.