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:21:26 +0000 |
commit | 3458eb4620c879ca786e8905697b8f0b31391205 (patch) | |
tree | 0f0cfc8b0a3397dd46ed3dff42ca94696cf34891 | |
parent | 836cfff2013cab7d203ea56f4cf9ba2fa646c7ae (diff) | |
download | couchdb-3458eb4620c879ca786e8905697b8f0b31391205.tar.gz |
JSON encode start seq number in _changes requests
This ensures replication from BigCouch 0.4 works.
-rw-r--r-- | src/couchdb/couch_api_wrap.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_api_wrap.erl b/src/couchdb/couch_api_wrap.erl index 0607d50e9..489e62b7b 100644 --- a/src/couchdb/couch_api_wrap.erl +++ b/src/couchdb/couch_api_wrap.erl @@ -315,7 +315,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), |