summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.