summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-05-26 21:22:22 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-05-26 21:22:22 +0000
commitb2ee027d7ec8f6b1f26ac3558924e145c5025aa4 (patch)
treed1a77e7d7128024f905859f7eb3f49f6f9e4c6fb
parent6a1122024eae24fb68f6baf57caddd48bdb37ec6 (diff)
ignore _local_seq when included in a saved document
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@778890 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/couchdb/couch_doc.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/couchdb/couch_doc.erl b/src/couchdb/couch_doc.erl
index 8018a1e4..b9747a01 100644
--- a/src/couchdb/couch_doc.erl
+++ b/src/couchdb/couch_doc.erl
@@ -211,6 +211,8 @@ transfer_fields([{<<"_deleted">>, B} | Rest], Doc) when (B==true) or (B==false)
% ignored fields
transfer_fields([{<<"_revs_info">>, _} | Rest], Doc) ->
transfer_fields(Rest, Doc);
+transfer_fields([{<<"_local_seq">>, _} | Rest], Doc) ->
+ transfer_fields(Rest, Doc);
transfer_fields([{<<"_conflicts">>, _} | Rest], Doc) ->
transfer_fields(Rest, Doc);
transfer_fields([{<<"_deleted_conflicts">>, _} | Rest], Doc) ->