diff options
author | Damien F. Katz <damien@apache.org> | 2008-12-22 20:35:50 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2008-12-22 20:35:50 +0000 |
commit | c823bd2e8b3990b5c55dde54705d6866ad1eda4f (patch) | |
tree | 4be1ffa83f983e36038841f8b25812f2cfe6d482 /src/couchdb/couch_server.erl | |
parent | 112e286f3c0727caf6f6c96caa2ba40f31552ac7 (diff) |
Fix for leaked file handles when not explicitly closed, added file stats code for checking for leaked file handles, and some refactoring of the view api.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@728764 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_server.erl')
-rw-r--r-- | src/couchdb/couch_server.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/couchdb/couch_server.erl b/src/couchdb/couch_server.erl index 2a2f51e2..f0e85734 100644 --- a/src/couchdb/couch_server.erl +++ b/src/couchdb/couch_server.erl @@ -270,9 +270,8 @@ handle_call({create, DbName, Options}, _From, Server) -> Error -> {reply, Error, Server} end; -handle_call({delete, DbName, Options}, _From, Server) -> +handle_call({delete, DbName, _Options}, _From, Server) -> DbNameList = binary_to_list(DbName), - _UserCtx = proplists:get_value(user_ctx, Options, nil), case check_dbname(Server, DbNameList) of ok -> FullFilepath = get_full_filename(Server, DbNameList), |