couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject mem3 commit: updated refs/heads/master to 8d93ca6
Date Tue, 03 Jun 2014 10:22:01 GMT
Repository: couchdb-mem3
Updated Branches:
  refs/heads/master af8b04bd3 -> 8d93ca625


Don't log when ensuring dbs exist


Project: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/commit/8d93ca62
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/tree/8d93ca62
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mem3/diff/8d93ca62

Branch: refs/heads/master
Commit: 8d93ca625de918d15fcbd35869278d0f596b4558
Parents: af8b04b
Author: Robert Newson <rnewson@apache.org>
Authored: Tue Jun 3 11:21:02 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Jun 3 11:21:02 2014 +0100

----------------------------------------------------------------------
 src/mem3_util.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mem3/blob/8d93ca62/src/mem3_util.erl
----------------------------------------------------------------------
diff --git a/src/mem3_util.erl b/src/mem3_util.erl
index 4e73a48..6ed8924 100644
--- a/src/mem3_util.erl
+++ b/src/mem3_util.erl
@@ -170,7 +170,7 @@ ensure_exists(DbName) when is_list(DbName) ->
     ensure_exists(list_to_binary(DbName));
 ensure_exists(DbName) ->
     Options = [{user_ctx, #user_ctx{roles=[<<"_admin">>]}}],
-    case couch_db:open(DbName, Options) of
+    case couch_db:open(DbName, [nologifmissing | Options]) of
     {ok, Db} ->
         {ok, Db};
     _ ->


Mime
View raw message