From 52cf77910645ab75129d6c29878080ebe08d8d30 Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Mon, 30 Jul 2018 14:40:34 +0100 Subject: 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 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. -- cgit v1.2.1