couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r978929 - /couchdb/trunk/src/couchdb/couch_changes.erl
Date Sat, 24 Jul 2010 19:22:39 GMT
Author: fdmanana
Date: Sat Jul 24 19:22:39 2010
New Revision: 978929

URL: http://svn.apache.org/viewvc?rev=978929&view=rev
Log:
Make sure all the properties of an EJSON change line are binaries (instead of a mix of binaries
and atoms).

Modified:
    couchdb/trunk/src/couchdb/couch_changes.erl

Modified: couchdb/trunk/src/couchdb/couch_changes.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_changes.erl?rev=978929&r1=978928&r2=978929&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_changes.erl (original)
+++ couchdb/trunk/src/couchdb/couch_changes.erl Sat Jul 24 19:22:39 2010
@@ -251,7 +251,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.



Mime
View raw message