diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-07-14 13:32:19 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-07-14 13:32:19 -0400 |
commit | 63330eb0bd922f504fb7b4111f98236879711288 (patch) | |
tree | fb656c7262a1d4956a1c4ae2007f296ab6741069 /src | |
parent | 24850155eee3a969d8f2daf127a5a782f6c273cd (diff) |
support the atts_since qs param for GET requests
Diffstat (limited to 'src')
-rw-r--r-- | src/fabric_doc_open.erl | 2 | ||||
-rw-r--r-- | src/fabric_rpc.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fabric_doc_open.erl b/src/fabric_doc_open.erl index 16493fb6..5c5699c3 100644 --- a/src/fabric_doc_open.erl +++ b/src/fabric_doc_open.erl @@ -8,7 +8,7 @@ go(DbName, Id, Options) -> Workers = fabric_util:submit_jobs(mem3:shards(DbName,Id), open_doc, - [Id, Options]), + [Id, [deleted|Options]]), SuppressDeletedDoc = not lists:member(deleted, Options), R = couch_util:get_value(r, Options, couch_config:get("cluster","r","2")), Acc0 = {length(Workers), list_to_integer(R), []}, diff --git a/src/fabric_rpc.erl b/src/fabric_rpc.erl index 673627da..6be7c3cc 100644 --- a/src/fabric_rpc.erl +++ b/src/fabric_rpc.erl @@ -161,7 +161,7 @@ get_update_seq(DbName) -> with_db(DbName, [], {couch_db, get_update_seq, []}). open_doc(DbName, DocId, Options) -> - with_db(DbName, Options, {couch_db, open_doc_int, [DocId, Options]}). + with_db(DbName, Options, {couch_db, open_doc, [DocId, Options]}). open_revs(DbName, Id, Revs, Options) -> with_db(DbName, Options, {couch_db, open_doc_revs, [Id, Revs, Options]}). |