couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [02/13] couch commit: updated refs/heads/COUCHDB-3287-pluggable-storage-engines to e4e3a68
Date Mon, 06 Feb 2017 21:59:01 GMT
fix auth cache changes function arity


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

Branch: refs/heads/COUCHDB-3287-pluggable-storage-engines
Commit: a62978e7bd987ceb035a13cc93215fa6ada392b4
Parents: 3cb37f8
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Mon Feb 6 14:41:13 2017 -0600
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Mon Feb 6 14:41:13 2017 -0600

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/a62978e7/src/couch_auth_cache.erl
----------------------------------------------------------------------
diff --git a/src/couch_auth_cache.erl b/src/couch_auth_cache.erl
index 4fa846e..68da9dd 100644
--- a/src/couch_auth_cache.erl
+++ b/src/couch_auth_cache.erl
@@ -336,7 +336,7 @@ refresh_entries(AuthDb) ->
         AuthDb2Seq = couch_db:get_update_seq(AuthDb2),
         case AuthDb2Seq > AuthDbSeq of
         true ->
-            Fun = fun(DocInfo, _, _) -> refresh_entry(AuthDb2, DocInfo) end,
+            Fun = fun(DocInfo, _) -> refresh_entry(AuthDb2, DocInfo) end,
             {ok, _} = couch_db:fold_changes(AuthDb2, AuthDbSeq, Fun, nil),
             true = ets:insert(?STATE, {auth_db, AuthDb2});
         false ->


Mime
View raw message