You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/08/22 12:05:45 UTC
fabric commit: updated refs/heads/windsor-merge to 0c3ad74
Repository: couchdb-fabric
Updated Branches:
refs/heads/windsor-merge c3b2860ca -> 0c3ad74e4
Pass #changes_args.db_open_options to couch_db:open/2
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/0c3ad74e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/0c3ad74e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/0c3ad74e
Branch: refs/heads/windsor-merge
Commit: 0c3ad74e4dc06f383faa3df091d08c8957f1ff8b
Parents: c3b2860
Author: Paul J. Davis <pa...@gmail.com>
Authored: Fri Aug 22 05:05:40 2014 -0500
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Fri Aug 22 05:05:40 2014 -0500
----------------------------------------------------------------------
src/fabric_rpc.erl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/0c3ad74e/src/fabric_rpc.erl
----------------------------------------------------------------------
diff --git a/src/fabric_rpc.erl b/src/fabric_rpc.erl
index 17dc19b..b0099c8 100644
--- a/src/fabric_rpc.erl
+++ b/src/fabric_rpc.erl
@@ -48,7 +48,8 @@ changes(DbName, #changes_args{} = Args, StartSeq, DbOptions) ->
changes(DbName, Options, StartVector, DbOptions) ->
set_io_priority(DbName, DbOptions),
#changes_args{dir=Dir} = Args = lists:keyfind(changes_args, 1, Options),
- case get_or_create_db(DbName, DbOptions) of
+ DbOpenOptions = Args#changes_args.db_open_options ++ DbOptions,
+ case get_or_create_db(DbName, DbOpenOptions) of
{ok, Db} ->
StartSeq = calculate_start_seq(Db, node(), StartVector),
Enum = fun changes_enumerator/2,