couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couch-mrview commit: updated refs/heads/master to 439f322
Date Thu, 20 Nov 2014 09:05:57 GMT
Repository: couchdb-couch-mrview
Updated Branches:
  refs/heads/master 28e51f3f8 -> 439f322cb


Warnings clean up

COUCHDB-2455


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

Branch: refs/heads/master
Commit: 439f322cb75f1636a6b27ccc90f5e6732ccaaf01
Parents: 28e51f3
Author: H. Diedrich <hdiedrich@eonblast.com>
Authored: Wed Nov 12 19:42:52 2014 +0100
Committer: H. Diedrich <hdiedrich@eonblast.com>
Committed: Wed Nov 12 20:11:27 2014 +0100

----------------------------------------------------------------------
 src/couch_mrview_http.erl | 2 +-
 src/couch_mrview_util.erl | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/439f322c/src/couch_mrview_http.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_http.erl b/src/couch_mrview_http.erl
index fa933e7..a04bcc4 100644
--- a/src/couch_mrview_http.erl
+++ b/src/couch_mrview_http.erl
@@ -50,7 +50,7 @@ handle_all_docs_req(Req, _Db) ->
 
 handle_reindex_req(#httpd{method='POST',
                           path_parts=[_, _, DName,<<"_reindex">>]}=Req,
-                   Db, DDoc) ->
+                   Db, _DDoc) ->
     ok = couch_db:check_is_admin(Db),
     couch_mrview:trigger_update(Db, <<"_design/", DName/binary>>),
     couch_httpd:send_json(Req, 201, {[{<<"ok">>, true}]});

http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/439f322c/src/couch_mrview_util.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_util.erl b/src/couch_mrview_util.erl
index 9669736..2378fc8 100644
--- a/src/couch_mrview_util.erl
+++ b/src/couch_mrview_util.erl
@@ -258,9 +258,6 @@ init_state(Db, Fd, State, Header) ->
         views=Views2
     }.
 
-less_json_seqs({SeqA, _JsonA}, {SeqB, _JsonB}) ->
-    couch_ejson_compare:less(SeqA, SeqB) < 0.
-
 open_view(Db, Fd, Lang, {BTState, SeqBTState, KSeqBTState, USeq, PSeq}, View) ->
     FunSrcs = [FunSrc || {_Name, FunSrc} <- View#mrview.reduce_funs],
     ReduceFun =


Mime
View raw message