Skip to content
Snippets Groups Projects
Commit e6bd7393 authored by Calin Iorgulescu's avatar Calin Iorgulescu Committed by Sean Busbey
Browse files

[memcached] Fixes issue where fields are skipped when readallfields is false (Issue #1153).

parent 5bef82d4
No related branches found
No related tags found
No related merge requests found
......@@ -277,7 +277,7 @@ public class MemcachedClient extends DB {
/* increment in loop body */) {
Map.Entry<String, JsonNode> jsonField = jsonFields.next();
String name = jsonField.getKey();
if (checkFields && fields.contains(name)) {
if (checkFields && !fields.contains(name)) {
continue;
}
JsonNode jsonValue = jsonField.getValue();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment