diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2012-02-09 13:18:38 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2012-02-09 13:19:48 +0000 |
commit | 597de1b994e2ca3bf3d828646578ac75910cd26d (patch) | |
tree | 5ef689623edc0f10cb91eb80514fc827f0584ee3 | |
parent | 970f0183617c7bd9c444de11f958f58c45dd70f1 (diff) | |
download | couchdb-597de1b994e2ca3bf3d828646578ac75910cd26d.tar.gz |
JSON encode start seq number in _changes requests
This ensures replication from BigCouch 0.4 works.
-rw-r--r-- | src/couch_replicator/src/couch_replicator_api_wrap.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch_replicator/src/couch_replicator_api_wrap.erl b/src/couch_replicator/src/couch_replicator_api_wrap.erl index 42f393e58..dcd6ca8ca 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), |