From 41a927b8c2c64eaa56c7f1fe1bb250021004c924 Mon Sep 17 00:00:00 2001 From: Brad Anderson Date: Thu, 27 May 2010 10:52:05 -0400 Subject: changes to get compile working again, and testing create_db --- src/fabric_info.erl | 10 ++++++---- src/fabric_open.erl | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/fabric_info.erl b/src/fabric_info.erl index 51529da3..90cd11f0 100644 --- a/src/fabric_info.erl +++ b/src/fabric_info.erl @@ -59,11 +59,13 @@ info_loop(_,_,{ok, Acc}) -> {ok, Acc}; info_loop(RefPartMap, TimeoutRef, AccIn) -> receive {Ref, {ok, Info}} when is_reference(Ref) -> - AccOut = check_all_parts(Ref, RefPartMap, AccIn, ok), - info_loop(RefPartMap, TimeoutRef, AccOut); + %AccOut = check_all_parts(Ref, RefPartMap, AccIn, ok), + %info_loop(RefPartMap, TimeoutRef, AccOut); + ok; {Ref, Reply} when is_reference(Ref) -> - AccOut = check_all_parts(Ref, RefPartMap, AccIn, Reply), - info_loop(RefPartMap, TimeoutRef, AccOut); + %AccOut = check_all_parts(Ref, RefPartMap, AccIn, Reply), + %info_loop(RefPartMap, TimeoutRef, AccOut); + ok; {timeout, TimeoutRef} -> {error, timeout} end. diff --git a/src/fabric_open.erl b/src/fabric_open.erl index 289a0681..cab10c5d 100644 --- a/src/fabric_open.erl +++ b/src/fabric_open.erl @@ -1,7 +1,6 @@ -module(fabric_open). -export([open_doc/4]). --export([open_doc_endpoint/4]). -include("../../couch/src/couch_db.hrl"). -- cgit v1.2.3