couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [33/50] git commit: _key is confusing
Date Sat, 18 Jan 2014 00:47:58 GMT
_key is confusing


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

Branch: refs/heads/import
Commit: 230a1fa0f214fc781e3fbe9f31b39eab733d90ec
Parents: e12794a
Author: Robert Newson <robert.newson@cloudant.com>
Authored: Fri Jan 25 01:49:54 2013 +0100
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Fri Jan 17 16:44:31 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/230a1fa0/src/couch_query_servers.erl
----------------------------------------------------------------------
diff --git a/src/couch_query_servers.erl b/src/couch_query_servers.erl
index b32ed06..679d815 100644
--- a/src/couch_query_servers.erl
+++ b/src/couch_query_servers.erl
@@ -254,7 +254,7 @@ sum_arrays(_, _) ->
 builtin_stats(_, []) ->
     {[{sum,0}, {count,0}, {min,0}, {max,0}, {sumsqr,0}]};
 builtin_stats(_, [[_,First]|Rest]) ->
-    Unpacked = lists:foldl(fun([_key, Value], Acc) -> stat_values(Value, Acc) end,
+    Unpacked = lists:foldl(fun([_Key, Value], Acc) -> stat_values(Value, Acc) end,
                            build_initial_accumulator(First), Rest),
     pack_stats(Unpacked).
 


Mime
View raw message