couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benoitc <...@git.apache.org>
Subject [GitHub] couchdb-couch-mrview pull request: 1993 bigcouch couch mrview
Date Mon, 31 Mar 2014 13:35:56 GMT
Github user benoitc commented on a diff in the pull request:

    https://github.com/apache/couchdb-couch-mrview/pull/1#discussion_r11115202
  
    --- Diff: src/couch_mrview.erl ---
    @@ -127,6 +127,10 @@ query_view(Db, {Type, View, Ref}, Args, Callback, Acc) ->
         end.
     
     
    +get_info(Db, DDocId) when is_binary(DDocId) ->
    +    DbName = mem3:dbname(Db#db.name),
    +    {ok, DDoc} = ddoc_cache:open(DbName, DDocId),
    --- End diff --
    
    why not put this call in `couch_index_server:get_index`, it could be useful to have the
cache available for other case if it's possible.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message