diff options
author | Robert Newson <rnewson@apache.org> | 2018-07-10 13:10:15 +0100 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2018-07-10 15:30:14 +0100 |
commit | 0ab80ecee516001a6734304a89507ca8bba85ada (patch) | |
tree | 7dc5277a6cee5fee5c3cd13e4c7d1967e9669cc5 | |
parent | 388df9406bc9374663c10026b68375da820012a8 (diff) | |
download | couchdb-0ab80ecee516001a6734304a89507ca8bba85ada.tar.gz |
cleanup
-rw-r--r-- | src/couch_mrview/src/couch_mrview_util.erl | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/couch_mrview/src/couch_mrview_util.erl b/src/couch_mrview/src/couch_mrview_util.erl index a5e384012..ce8f4ebd2 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. |