couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Smith (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1387) couch_index_server:reset_indexes/2 does not use the correct utility function
Date Mon, 23 Jan 2012 01:47:40 GMT
couch_index_server:reset_indexes/2 does not use the correct utility function
----------------------------------------------------------------------------

                 Key: COUCHDB-1387
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1387
             Project: CouchDB
          Issue Type: Bug
          Components: Database Core
    Affects Versions: 1.3
            Reporter: Jason Smith
            Priority: Trivial
         Attachments: 0001-Use-the-correct-utility-function-to-get-the-index-di.patch

It looks like couch_index_util:index_dir(Module, DbName) is the new way to get the path to
the .db_design/ directory.

Passing an empty string as the "module" gives the desired result. So why not use that?

    1> couch_index_util:index_dir("", <<"mydb">>).
    "/Users/jhs/src/iris/couchdb/tmp/lib/.mydb_design"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message