GitHub user adamlofts opened a pull request:
https://github.com/apache/couchdb/pull/24
Empty keys result
This pull request restores the behaviour of couchdb 1.2 which is to return
no rows when passed an empty array as the keys parameter to a query.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/adamlofts/couchdb empty-keys-result
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb/pull/24.patch
----
commit ee3690e5029e0b585d0172ab9554def9ad21fcfd
Author: Adam Lofts <[email protected]>
Date: 2012-05-20T06:12:03-07:00
Add test cases for empty keys query parameter
commit dc17b537e324254503b4b112321296944c3d6fdb
Author: Adam Lofts <[email protected]>
Date: 2012-05-20T07:09:51-07:00
Differentiate between keys=undefined and keys=[] in query
This commit restores the 1.2 behavior of returning no results when passed
an empty keys array.
----