summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_server.erl
diff options
context:
space:
mode:
authorDamien F. Katz <damien@apache.org>2008-10-02 16:06:10 +0000
committerDamien F. Katz <damien@apache.org>2008-10-02 16:06:10 +0000
commit82d31aa2671ac3ffc7b1dbf4c6c9b6c38f0d9f2e (patch)
tree8dcc9c8b2100189ee41c4a657b90335a3c68f8fe /src/couchdb/couch_server.erl
parentf825477e9d9502d618aa1cb19bdced4df941e872 (diff)
HTTPd refactoring. Moved most code out of couch_httpd into associated modules (couch_httpd_view, couch_httpd_db, couch_httpd_misc_handlers). Also a fix to removed previous doc_by_seq index entries on compaction retry.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@701173 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_server.erl')
-rw-r--r--src/couchdb/couch_server.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_server.erl b/src/couchdb/couch_server.erl
index 04189764..95d51fc7 100644
--- a/src/couchdb/couch_server.erl
+++ b/src/couchdb/couch_server.erl
@@ -229,7 +229,7 @@ handle_call({create, DbName, Options}, {FromPid,_}, Server) ->
{reply, Error, Server}
end;
[_AlreadyRunningDb] ->
- {reply, {error, file_exists}, Server}
+ {reply, file_exists, Server}
end;
Error ->
{reply, Error, Server}