summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2018-07-30 14:40:34 +0100
committerRobert Newson <rnewson@apache.org>2018-07-30 14:40:34 +0100
commit52cf77910645ab75129d6c29878080ebe08d8d30 (patch)
treebe2f4ea85864d7432d5d99425a9e4195d642a995
parent933a4a8392e343a6c2432807b8d1102ea84e014a (diff)
downloadcouchdb-user-partitioned-dbs-wip.tar.gz
-rw-r--r--src/couch_mrview/src/couch_mrview_util.erl4
1 files 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 1c89d32e5..d7c17b39a 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.