You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2020/05/04 13:16:32 UTC

[couchdb] 01/01: return correct not implemented for reduce

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

garren pushed a commit to branch not_implemented_reduce
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit d52adb574ae405977f886637f83c5cdd7b9ac78f
Author: Garren Smith <ga...@gmail.com>
AuthorDate: Mon May 4 15:16:05 2020 +0200

    return correct not implemented for reduce
---
 src/couch_views/src/couch_views.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch_views/src/couch_views.erl b/src/couch_views/src/couch_views.erl
index 9d518eb..3ea4d54 100644
--- a/src/couch_views/src/couch_views.erl
+++ b/src/couch_views/src/couch_views.erl
@@ -50,7 +50,7 @@ query(Db, DDoc, ViewName, Callback, Acc0, Args0) ->
     Args3 = couch_mrview_util:validate_args(Args2),
     ok = check_range(Args3),
     case is_reduce_view(Args3) of
-        true -> throw({not_implemented});
+        true -> throw(not_implemented);
         false -> ok
     end,