[ 
https://issues.apache.org/jira/browse/COUCHDB-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Anderson updated COUCHDB-196:
-----------------------------------

    Attachment: docid_collation.diff

Thanks for looking into this guys - here's the patch I'm showing to Damien 
before applying.

The only substantial difference is more testing. (I'm using less_json in the 
updater)

> Bug in _all_docs: extra incorrect row returned when ?key= is specified
> ----------------------------------------------------------------------
>
>                 Key: COUCHDB-196
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-196
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>         Attachments: collation_ids.diff, collation_test.2.diff, 
> collation_test.diff, couch_db_updater.diff, docid_collation.diff, view_coll.js
>
>
> I first noticed this when attempting to reverse the order of docs displayed 
> in Futon, when listing the design docs.  When the order is reversed, 
> non-design docs are displayed.
> After digging deeper I discovered that querying _all_docs with key="Z" can 
> potentially return two rows, with keys "Z" and "a".
> I will attach a test case to reproduce this.  My locale is set to 
> en_GB.UTF-8, which could be related to this problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to