Skip to content
Snippets Groups Projects
Commit 44660de7 authored by Windz's avatar Windz Committed by GitHub
Browse files

logical error in decode()

When dataintegrity=true, no field values in passed to verifyRow() for verify and keep on getting error.
parent 164b74c4
No related branches found
No related tags found
No related merge requests found
......@@ -856,7 +856,7 @@ public class Couchbase2Client extends DB {
for (Iterator<Map.Entry<String, JsonNode>> jsonFields = json.fields(); jsonFields.hasNext();) {
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