diff options
author | Robert Newson <robert.newson@cloudant.com> | 2012-08-02 16:23:06 +0100 |
---|---|---|
committer | Robert Newson <robert.newson@cloudant.com> | 2012-08-02 16:28:29 +0100 |
commit | e70411dc2c64e694eefae99f662225284839dbfe (patch) | |
tree | 9f4bdf62e93d1879efab87e7997822124c7cfc7f | |
parent | 4e4e606487fa3e1a5d609f60a420060f3f3d4255 (diff) |
Add _replication_stats
-rw-r--r-- | apps/couch/src/couch_doc.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/couch/src/couch_doc.erl b/apps/couch/src/couch_doc.erl index 63ac0892..f24f0310 100644 --- a/apps/couch/src/couch_doc.erl +++ b/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>>, _} | _], _) -> |