You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2018/07/30 13:40:43 UTC

[couchdb] branch user-partitioned-dbs-wip updated: hacks

This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch user-partitioned-dbs-wip
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/user-partitioned-dbs-wip by this push:
     new 52cf779  hacks
52cf779 is described below

commit 52cf77910645ab75129d6c29878080ebe08d8d30
Author: Robert Newson <rn...@apache.org>
AuthorDate: Mon Jul 30 14:40:34 2018 +0100

    hacks
---
 src/couch_mrview/src/couch_mrview_util.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/couch_mrview/src/couch_mrview_util.erl b/src/couch_mrview/src/couch_mrview_util.erl
index 1c89d32..d7c17b3 100644
--- a/src/couch_mrview/src/couch_mrview_util.erl
+++ b/src/couch_mrview/src/couch_mrview_util.erl
@@ -566,13 +566,13 @@ validate_args(Args) ->
 
     case {Args#mrargs.partitioned == true, Args#mrargs.partition} of
         {true, undefined} ->
-            mrverror(<<"`partition` parameter is mandatory for queries to this view.">>);
+            ok; % mrverror(<<"`partition` parameter is mandatory for queries to this view.">>);
         {true, _Partition} ->
             ok;
         {false, undefined} ->
             ok;
         {false, _Partition} ->
-            ok % mrverror(<<"`partition` parameter is not supported in this view.">>)
+            ok %mrverror(<<"`partition` parameter is not supported in this view.">>)
     end,
     Args.