couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject git commit: JSON encode start seq number in _changes requests
Date Thu, 09 Feb 2012 13:38:58 GMT
Updated Branches:
  refs/heads/master 970f01836 -> 597de1b99


JSON encode start seq number in _changes requests

This ensures replication from BigCouch 0.4 works.


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/597de1b9
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/597de1b9
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/597de1b9

Branch: refs/heads/master
Commit: 597de1b994e2ca3bf3d828646578ac75910cd26d
Parents: 970f018
Author: Filipe David Borba Manana <fdmanana@apache.org>
Authored: Thu Feb 9 13:18:38 2012 +0000
Committer: Filipe David Borba Manana <fdmanana@apache.org>
Committed: Thu Feb 9 13:19:48 2012 +0000

----------------------------------------------------------------------
 .../src/couch_replicator_api_wrap.erl              |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/597de1b9/src/couch_replicator/src/couch_replicator_api_wrap.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator/src/couch_replicator_api_wrap.erl b/src/couch_replicator/src/couch_replicator_api_wrap.erl
index 42f393e..dcd6ca8 100644
--- a/src/couch_replicator/src/couch_replicator_api_wrap.erl
+++ b/src/couch_replicator/src/couch_replicator_api_wrap.erl
@@ -314,7 +314,7 @@ changes_since(#httpdb{headers = Headers1} = HttpDb, Style, StartSeq,
     true ->
         [{"feed", "continuous"}]
     end ++ [
-        {"style", atom_to_list(Style)}, {"since", couch_util:to_list(StartSeq)},
+        {"style", atom_to_list(Style)}, {"since", ?JSON_ENCODE(StartSeq)},
         {"heartbeat", integer_to_list(HeartBeat)}
     ],
     DocIds = get_value(doc_ids, Options),


Mime
View raw message