summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Avdey <eiri@eiri.ca>2017-07-07 16:52:36 -0300
committerNick Vatamaniuc <nickva@users.noreply.github.com>2017-07-13 12:28:15 -0400
commit6d9673cbbafec2ec07c63eef2c1ed7f5b75f384e (patch)
tree0cbeed982c86e87b98917deae357257ede2a6161
parentd909cd2128f2ebba333cedf6cfe3d49e9ad573ed (diff)
downloadcouchdb-6d9673cbbafec2ec07c63eef2c1ed7f5b75f384e.tar.gz
Send user_ctx to query_view
-rw-r--r--src/mango/src/mango_cursor_view.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mango/src/mango_cursor_view.erl b/src/mango/src/mango_cursor_view.erl
index 47632774c..538877cbc 100644
--- a/src/mango/src/mango_cursor_view.erl
+++ b/src/mango/src/mango_cursor_view.erl
@@ -98,7 +98,7 @@ execute(#cursor{db = Db, index = Idx} = Cursor0, UserFun, UserAcc) ->
% Normal view
DDoc = ddocid(Idx),
Name = mango_idx:name(Idx),
- fabric:query_view(Db, DDoc, Name, CB, Cursor, Args)
+ fabric:query_view(Db, DbOpts, DDoc, Name, CB, Cursor, Args)
end,
case Result of
{ok, LastCursor} ->