couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vatam...@apache.org
Subject couch commit: updated refs/heads/63012-scheduler to f92b68f
Date Tue, 14 Mar 2017 19:28:09 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/63012-scheduler [created] f92b68f66


Add _replication_start_time to the doc field validation section.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/f92b68f6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/f92b68f6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/f92b68f6

Branch: refs/heads/63012-scheduler
Commit: f92b68f66bfd286b8702527a2322cfc4c0c2a2bc
Parents: 5685f17
Author: Nick Vatamaniuc <vatamane@apache.org>
Authored: Fri Nov 4 17:27:13 2016 -0400
Committer: Nick Vatamaniuc <vatamane@apache.org>
Committed: Tue Mar 14 15:07:37 2017 -0400

----------------------------------------------------------------------
 src/couch_doc.erl | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/f92b68f6/src/couch_doc.erl
----------------------------------------------------------------------
diff --git a/src/couch_doc.erl b/src/couch_doc.erl
index a913eee..9b6c6c2 100644
--- a/src/couch_doc.erl
+++ b/src/couch_doc.erl
@@ -260,6 +260,9 @@ transfer_fields([{<<"_replication_state">>, _} = Field | Rest],
 transfer_fields([{<<"_replication_state_time">>, _} = Field | Rest],
     #doc{body=Fields} = Doc) ->
     transfer_fields(Rest, Doc#doc{body=[Field|Fields]});
+transfer_fields([{<<"_replication_start_time">>, _} = Field | Rest],
+    #doc{body=Fields} = Doc) ->
+    transfer_fields(Rest, Doc#doc{body=[Field|Fields]});
 transfer_fields([{<<"_replication_state_reason">>, _} = Field | Rest],
     #doc{body=Fields} = Doc) ->
     transfer_fields(Rest, Doc#doc{body=[Field|Fields]});


Mime
View raw message