Skip to content
Browse files

Add _replication_stats

  • Loading branch information...
1 parent 4e4e606 commit e70411dc2c64e694eefae99f662225284839dbfe Robert Newson committed Aug 2, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 apps/couch/src/couch_doc.erl
View
3 apps/couch/src/couch_doc.erl
@@ -279,6 +279,9 @@ transfer_fields([{<<"_replication_state_time">>, _} = Field | Rest],
transfer_fields([{<<"_replication_id">>, _} = Field | Rest],
#doc{body=Fields} = Doc) ->
transfer_fields(Rest, Doc#doc{body=[Field|Fields]});
+transfer_fields([{<<"_replication_stats">>, _} = Field | Rest],
+ #doc{body=Fields} = Doc) ->
+ transfer_fields(Rest, Doc#doc{body=[Field|Fields]});
% unknown special field
transfer_fields([{<<"_",Name/binary>>, _} | _], _) ->

0 comments on commit e70411d

Please sign in to comment.
Something went wrong with that request. Please try again.