You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Dave Cottlehuber (JIRA)" <ji...@apache.org> on 2012/10/30 21:08:14 UTC

[jira] [Updated] (COUCHDB-85) couch_server:all_databases() does not work on file name case-insensitive OS, such as Windows.

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

Dave Cottlehuber updated COUCHDB-85:
------------------------------------

    Assignee: Dave Cottlehuber
    
> couch_server:all_databases() does not work on file name case-insensitive OS, such as Windows.
> ---------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-85
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-85
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.8
>         Environment: Windows XP,  Erlang/OTP R12B-3
>            Reporter: Li Zhengji
>            Assignee: Dave Cottlehuber
>            Priority: Blocker
>             Fix For: 1.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> "Filename -- Root": the "--" here will not work as we want obviously. For example, Filename = "e:/aa.couch", Root = "E:/", then (Filename -- Root) = "eaa.couch". Not to say "/" and "\" on Windows.  
> "--" should not be used here. The simple way to do this would be: delete(FileName, 1, length(Root)).

--
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