summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@apache.org>2010-07-24 19:22:39 +0000
committerFilipe David Borba Manana <fdmanana@apache.org>2010-07-24 19:22:39 +0000
commit917987a561b358e60ec88ccd962f97dbdeab4d9d (patch)
tree1b99dc4986aa5c5570fe9cd5fd36caba38cc24a0
parenta6b180dd6806e05afd2bc42c2da2df8dea9f1f07 (diff)
Make sure all the properties of an EJSON change line are binaries (instead of a mix of binaries and atoms).
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@978929 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/couchdb/couch_changes.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_changes.erl b/src/couchdb/couch_changes.erl
index 3a5bc4f8..580148c8 100644
--- a/src/couchdb/couch_changes.erl
+++ b/src/couchdb/couch_changes.erl
@@ -251,7 +251,7 @@ changes_row(_, Seq, Id, Del, Results, _, false) ->
{[{<<"seq">>, Seq}, {<<"id">>, Id}, {<<"changes">>, Results}] ++
deleted_item(Del)}.
-deleted_item(true) -> [{deleted, true}];
+deleted_item(true) -> [{<<"deleted">>, true}];
deleted_item(_) -> [].
% waits for a db_updated msg, if there are multiple msgs, collects them.