This is an automated email from the ASF dual-hosted git repository.
garren pushed a commit to branch prototype/fdb-layer
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/prototype/fdb-layer by this
push:
new bd44fc6 return correct not implemented for reduce
bd44fc6 is described below
commit bd44fc6a44148fe2327962341c1e3d4bb8f7db27
Author: Garren Smith <[email protected]>
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,