Updated Branches: refs/heads/master 879a1bc19 -> 50ae62f71
Use the correct utility function to get the index directory path Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/50ae62f7 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/50ae62f7 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/50ae62f7 Branch: refs/heads/master Commit: 50ae62f712ec1661031ec9d39ff30c914fdcdd4c Parents: 879a1bc Author: Jason Smith (air) <[email protected]> Authored: Mon Jan 23 01:31:11 2012 +0000 Committer: Randall Leeds <[email protected]> Committed: Sun Jan 22 21:59:40 2012 -0800 ---------------------------------------------------------------------- src/couch_index/src/couch_index_server.erl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/50ae62f7/src/couch_index/src/couch_index_server.erl ---------------------------------------------------------------------- diff --git a/src/couch_index/src/couch_index_server.erl b/src/couch_index/src/couch_index_server.erl index 398c27d..3a0b436 100644 --- a/src/couch_index/src/couch_index_server.erl +++ b/src/couch_index/src/couch_index_server.erl @@ -164,7 +164,7 @@ reset_indexes(DbName, Root) -> rem_from_ets(DbName, Sig, DDocId, Pid) end, lists:foreach(Fun, ets:lookup(?BY_DB, DbName)), - Path = Root ++ "/." ++ binary_to_list(DbName) ++ "_design", + Path = couch_index_util:index_dir("", DbName), couch_file:nuke_dir(Root, Path).
