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 2019/07/23 20:13:14 UTC

[couchdb] 05/25: Don't redefine records with the same name

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

davisp pushed a commit to branch prototype/views
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit bec2da3a39147c2c22b1ef640c92648ded4fe9e5
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Tue Jul 16 14:42:07 2019 -0500

    Don't redefine records with the same name
    
    This could lead to lots of errors where we're passing these records
    between the new and old versions of code.
---
 src/couch_views/include/couch_views.hrl | 70 ---------------------------------
 1 file changed, 70 deletions(-)

diff --git a/src/couch_views/include/couch_views.hrl b/src/couch_views/include/couch_views.hrl
index f5a9c8b..99a62b0 100644
--- a/src/couch_views/include/couch_views.hrl
+++ b/src/couch_views/include/couch_views.hrl
@@ -22,73 +22,3 @@
 
 % jobs api
 -define(INDEX_JOB_TYPE, <<"views">>).
-
-
--record(mrst, {
-    sig=nil,
-    fd=nil,
-    db_name,
-    idx_name,
-    language,
-    design_opts=[],
-    seq_indexed=false,
-    keyseq_indexed=false,
-    partitioned=false,
-    lib,
-    views,
-    % update_seq=0,
-    % purge_seq=0,
-    % first_build,
-    % partial_resp_pid,
-    % doc_acc,
-    % doc_queue,
-    % write_queue,
-    qserver=nil
-}).
-
-
--record(mrview, {
-    id_num,
-    % update_seq=0,
-    % purge_seq=0,
-    map_names=[],
-    reduce_funs=[],
-    def,
-    seq_indexed=false,
-    keyseq_indexed=false,
-    options=[]
-}).
-
-
--define(MAX_VIEW_LIMIT, 16#10000000).
-
-
--record(mrargs, {
-    view_type,
-    % reduce,
-
-    % preflight_fun,
-
-    start_key,
-    start_key_docid,
-    end_key,
-    end_key_docid,
-    keys,
-
-    direction = fwd,
-    limit = ?MAX_VIEW_LIMIT,
-    skip = 0,
-    % group_level = 0,
-    % group = undefined,
-    stable = false,
-    update = true,
-    multi_get = false,
-    inclusive_end = true,
-    include_docs = false,
-    doc_options = [],
-    update_seq=false,
-    conflicts,
-    % callback,
-    sorted = true
-    % extra = []
-}).