You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2018/07/16 12:03:50 UTC

[couchdb] branch user-partitioned-dbs-wip updated: fix bug that forced all dbs to be partitioned

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

rnewson pushed a commit to branch user-partitioned-dbs-wip
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/user-partitioned-dbs-wip by this push:
     new fd3aa7e  fix bug that forced all dbs to be partitioned
fd3aa7e is described below

commit fd3aa7e1ed756d965b6cf2c3afb206315966a368
Author: Robert Newson <rn...@apache.org>
AuthorDate: Mon Jul 16 13:03:25 2018 +0100

    fix bug that forced all dbs to be partitioned
---
 src/couch/src/couch_bt_engine.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/src/couch_bt_engine.erl b/src/couch/src/couch_bt_engine.erl
index 9b68735..43030cb 100644
--- a/src/couch/src/couch_bt_engine.erl
+++ b/src/couch/src/couch_bt_engine.erl
@@ -771,7 +771,7 @@ set_default_security_object(Fd, Header, Compression, Options) ->
 
 set_partitioned(Header, Options) ->
     Partitioned = lists:member(partitioned, Options),
-    couch_bt_engine_header:set(Header, partitioned, true).
+    couch_bt_engine_header:set(Header, partitioned, Partitioned).
 
 
 delete_compaction_files(FilePath) ->