couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1165145 - /couchdb/trunk/src/couchdb/couch_api_wrap.erl
Date Mon, 05 Sep 2011 01:57:00 GMT
Author: fdmanana
Date: Mon Sep  5 01:57:00 2011
New Revision: 1165145

URL: http://svn.apache.org/viewvc?rev=1165145&view=rev
Log:
Remove no longer existing replicator httpc option

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

Modified: couchdb/trunk/src/couchdb/couch_api_wrap.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_api_wrap.erl?rev=1165145&r1=1165144&r2=1165145&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_api_wrap.erl (original)
+++ couchdb/trunk/src/couchdb/couch_api_wrap.erl Mon Sep  5 01:57:00 2011
@@ -69,7 +69,7 @@ db_open(#httpdb{} = Db1, _Options, Creat
     false ->
         ok;
     true ->
-        send_req(Db, [{method, put}, {direct, true}], fun(_, _, _) -> ok end)
+        send_req(Db, [{method, put}], fun(_, _, _) -> ok end)
     end,
     send_req(Db, [{method, head}],
         fun(200, _, _) ->
@@ -120,7 +120,7 @@ get_db_info(Db) ->
 ensure_full_commit(#httpdb{} = Db) ->
     send_req(
         Db,
-        [{method, post}, {path, "_ensure_full_commit"}, {direct, true},
+        [{method, post}, {path, "_ensure_full_commit"},
             {headers, [{"Content-Type", "application/json"}]}],
         fun(201, _, {Props}) ->
             {ok, get_value(<<"instance_start_time">>, Props)};
@@ -226,8 +226,7 @@ update_doc(#httpdb{} = HttpDb, #doc{id =
     send_req(
         HttpDb,
         [{method, put}, {path, encode_doc_id(DocId)},
-           {direct, Type =:= interactive_edit}, {qs, QArgs},
-           {headers, Headers}, {body, Body}],
+            {qs, QArgs}, {headers, Headers}, {body, Body}],
         fun(Code, _, {Props}) when Code =:= 200 orelse Code =:= 201 ->
                 {ok, couch_doc:parse_rev(get_value(<<"rev">>, Props))};
             (409, _, _) ->



Mime
View raw message