akwei / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

GET immediately after SET fails with ERROR when the values is empty #344

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open Telnet and connect to memcached
2. enter "SET test 0 0 0", the server returns "STORED"
3. enter "GET test", the server returns "ERROR"
4. enter "GET test" again, now the server returns "VALUE test 0 0" and "END". 
Same happens when you do the GET with a newly opened connection without the SET 
before.

What is the expected output? What do you see instead?
The expected output is 4. above, but not 3.

What version of the product are you using? On what operating system?
- source tree, engine-pu branch 
- commit 92b232d45fde9e252dd3318f969a712e5b014297 made at 2012-07-03 by Trond 
Norbye
- built on Windows/MinGW

Please provide any additional information below.

Original issue reported on code.google.com by jensge...@hotmail.com on 30 Sep 2013 at 10:52

GoogleCodeExporter commented 9 years ago
Sorry, but PEBKAC. Of course the SET requires an (in this case empty) data 
line. => How can I close the issue as invalid? 

Original comment by jensge...@hotmail.com on 30 Sep 2013 at 10:58

GoogleCodeExporter commented 9 years ago

Original comment by trond.no...@gmail.com on 1 Oct 2013 at 6:15