You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/08/23 06:53:57 UTC

[GitHub] willholley commented on a change in pull request #768: basic execution statistics for _find

willholley commented on a change in pull request #768: basic execution statistics for _find
URL: https://github.com/apache/couchdb/pull/768#discussion_r134670343
 
 

 ##########
 File path: src/mango/src/mango_httpd.erl
 ##########
 @@ -266,6 +267,11 @@ run_find(Resp, Db, Sel, Opts) ->
     mango_crud:find(Db, Sel, fun handle_doc/2, Acc0, Opts).
 
 
+handle_doc({add_key, Key, Value = #execution_stats{}}, Acc0) ->
 
 Review comment:
   It's not clear to me which code is redundant here. The intent is to perform custom JSON serialisation for the execution_stats record - without that, the response is invalid (JSON serialisation fails).
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services