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
commit 0ab80ecee516001a6734304a89507ca8bba85ada Author: Robert Newson <[email protected]> AuthorDate: Tue Jul 10 13:10:15 2018 +0100 cleanup --- src/couch_mrview/src/couch_mrview_util.erl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/couch_mrview/src/couch_mrview_util.erl b/src/couch_mrview/src/couch_mrview_util.erl index a5e3840..ce8f4eb 100644 --- a/src/couch_mrview/src/couch_mrview_util.erl +++ b/src/couch_mrview/src/couch_mrview_util.erl @@ -34,7 +34,6 @@ -export([fold_changes/4]). -export([to_key_seq/1]). -export([set_view_options/3]). --export([partition_key/2, unpartition_key/1]). -define(MOD, couch_mrview_index). -define(GET_VIEW_RETRY_COUNT, 1). @@ -1260,9 +1259,3 @@ set_view_options(#mrargs{} = Args, partitioned, true) -> Args#mrargs{partitioned=true}; set_view_options(#mrargs{} = Args, partitioned, false) -> Args#mrargs{partitioned=false}. - -partition_key(Key, DocId) -> - [hd(binary:split(DocId, <<":">>)), Key]. - -unpartition_key([_Partition, Key]) -> - Key.
