summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Anderson <brad@cloudant.com>2010-05-27 10:52:05 -0400
committerBrad Anderson <brad@cloudant.com>2010-05-27 10:52:05 -0400
commit41a927b8c2c64eaa56c7f1fe1bb250021004c924 (patch)
tree7808df6bd676eee7b73fa251b6561d0f1719673b
parent47bd7a3293bb41c9d040e7fd35dcfe9faf16a992 (diff)
changes to get compile working again, and testing create_db
-rw-r--r--ebin/fabric.app1
-rw-r--r--src/fabric_info.erl10
-rw-r--r--src/fabric_open.erl1
3 files changed, 7 insertions, 5 deletions
diff --git a/ebin/fabric.app b/ebin/fabric.app
index ba3d3e03..7e425a03 100644
--- a/ebin/fabric.app
+++ b/ebin/fabric.app
@@ -10,6 +10,7 @@
fabric_delete,
fabric_info,
fabric_open,
+ fabric_rpc,
fabric_util
]},
{registered, []},
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").