summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_db.erl
diff options
context:
space:
mode:
authorPaul Joseph Davis <davisp@apache.org>2010-03-16 00:44:21 +0000
committerPaul Joseph Davis <davisp@apache.org>2010-03-16 00:44:21 +0000
commit67313872c0fde033688369b6785fc42ab6c64770 (patch)
treee19997ebbeaa67a8e21cd19fa8411f65bb334cde /src/couchdb/couch_db.erl
parent17fd3e388668be4abf091b01f8f49db887bcddb5 (diff)
Fixes couch_server:all_databases/0
The logic was failing when the database path had a '.' path component in the middle because Filename -- Root is not a prefix operation. This patch adds a normalization function to couch_util that is run on the Root and Filename variables before doing the array subtraction. I could probably make it smarter and error out but I got lazy. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@923526 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_db.erl')
0 files changed, 0 insertions, 0 deletions