davisp commented on a change in pull request #2585: Mango Indexes on 
FoundationDB
URL: https://github.com/apache/couchdb/pull/2585#discussion_r397966051
 
 

 ##########
 File path: src/mango/src/mango_idx_special.erl
 ##########
 @@ -70,6 +73,8 @@ is_usable(#idx{def=all_docs} = Idx, Selector, SortFields) ->
     lists:member(<<"_id">>, Fields) and can_use_sort(Idx, SortFields, 
Selector).
 
 
+start_key([{_, {[]}, _, _}]) ->
+    ?MIN_STR;
 
 Review comment:
   This is still wrong.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to