couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [19/50] couch commit: updated refs/heads/import to 09c6556
Date Mon, 10 Feb 2014 20:22:41 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/78a4f420
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/78a4f420
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/78a4f420

Branch: refs/heads/import
Commit: 78a4f420af66a902c2ab152af4c22014ee289911
Parents: 1d952f0
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: Tue Feb 4 17:03:24 2014 -0600

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/78a4f420/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