You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2010/06/14 15:31:57 UTC
svn commit: r954450 - /couchdb/branches/0.11.x/src/couchdb/couch_server.erl
Author: jan
Date: Mon Jun 14 13:31:56 2010
New Revision: 954450
URL: http://svn.apache.org/viewvc?rev=954450&view=rev
Log:
Revert "Merge r930365 from trunk:"
This reverts commit 91fc9c7713ed51c4d954ac410b75d4ff6b7ce88f.
Modified:
couchdb/branches/0.11.x/src/couchdb/couch_server.erl
Modified: couchdb/branches/0.11.x/src/couchdb/couch_server.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/src/couchdb/couch_server.erl?rev=954450&r1=954449&r2=954450&view=diff
==============================================================================
--- couchdb/branches/0.11.x/src/couchdb/couch_server.erl (original)
+++ couchdb/branches/0.11.x/src/couchdb/couch_server.erl Mon Jun 14 13:31:56 2010
@@ -51,7 +51,7 @@ sup_start_link() ->
gen_server:start_link({local, couch_server}, couch_server, [], []).
open(DbName, Options) ->
- case gen_server:call(couch_server, {open, DbName, Options}, infinity) of
+ case gen_server:call(couch_server, {open, DbName, Options}) of
{ok, Db} ->
Ctx = proplists:get_value(user_ctx, Options, #user_ctx{}),
{ok, Db#db{user_ctx=Ctx}};
@@ -60,7 +60,7 @@ open(DbName, Options) ->
end.
create(DbName, Options) ->
- case gen_server:call(couch_server, {create, DbName, Options}, infinity) of
+ case gen_server:call(couch_server, {create, DbName, Options}) of
{ok, Db} ->
Ctx = proplists:get_value(user_ctx, Options, #user_ctx{}),
{ok, Db#db{user_ctx=Ctx}};
@@ -69,7 +69,7 @@ create(DbName, Options) ->
end.
delete(DbName, Options) ->
- gen_server:call(couch_server, {delete, DbName, Options}, infinity).
+ gen_server:call(couch_server, {delete, DbName, Options}).
check_dbname(#server{dbname_regexp=RegExp}, DbName) ->
case re:run(DbName, RegExp, [{capture, none}]) of