You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fd...@apache.org on 2010/07/24 21:23:28 UTC
svn commit: r978930 -
/couchdb/branches/new_replicator/src/couchdb/couch_changes.erl
Author: fdmanana
Date: Sat Jul 24 19:23:28 2010
New Revision: 978930
URL: http://svn.apache.org/viewvc?rev=978930&view=rev
Log:
Merge revision 978929 from trunk:
Make sure all the properties of an EJSON change line are binaries (instead of a mix of binaries and atoms).
Modified:
couchdb/branches/new_replicator/src/couchdb/couch_changes.erl
Modified: couchdb/branches/new_replicator/src/couchdb/couch_changes.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/new_replicator/src/couchdb/couch_changes.erl?rev=978930&r1=978929&r2=978930&view=diff
==============================================================================
--- couchdb/branches/new_replicator/src/couchdb/couch_changes.erl (original)
+++ couchdb/branches/new_replicator/src/couchdb/couch_changes.erl Sat Jul 24 19:23:28 2010
@@ -282,7 +282,7 @@ changes_row(_, Seq, Id, Del, Results, _,
{[{<<"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.