You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Adam Kocoloski (JIRA)" <ji...@apache.org> on 2013/05/29 23:18:20 UTC

[jira] [Commented] (COUCHDB-537) reduce string

    [ https://issues.apache.org/jira/browse/COUCHDB-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13669754#comment-13669754 ] 

Adam Kocoloski commented on COUCHDB-537:
----------------------------------------

Current status is that master ignores trailing characters (whitespace or otherwise) when looking for builtins.  It still doesn't do anything polite when a user sets "reduce": "_randomthing".
                
> reduce string
> -------------
>
>                 Key: COUCHDB-537
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-537
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.10
>         Environment: ubuntu from source 0.10
>            Reporter: greg tappero
>            Priority: Trivial
>         Attachments: 0001-Incorrect-builtin-function-names-now-throw-an-error-.patch, 0001-Incorrect-builtin-function-names-now-throw-an-error-.patch
>
>
> For a simple reduce as _sum if i add a space after _sum it crashes.
> Don't know how likely it is to add a space by mistake maybe the input could be trimed ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira