You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2022/04/15 06:51:22 UTC

[couchdb] branch fix-is-compacting created (now 94e9b8189)

This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a change to branch fix-is-compacting
in repository https://gitbox.apache.org/repos/asf/couchdb.git


      at 94e9b8189 Convert DbName to list before cons

This branch includes the following new commits:

     new 94e9b8189 Convert DbName to list before cons

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb] 01/01: Convert DbName to list before cons

Posted by rn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch fix-is-compacting
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 94e9b818958f4d825f4def094f48fd5cad9537d7
Author: Robert Newson <rn...@apache.org>
AuthorDate: Fri Apr 15 07:50:06 2022 +0100

    Convert DbName to list before cons
---
 src/couch/src/couch_bt_engine.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/src/couch_bt_engine.erl b/src/couch/src/couch_bt_engine.erl
index ca0828b6a..486ed7cb0 100644
--- a/src/couch/src/couch_bt_engine.erl
+++ b/src/couch/src/couch_bt_engine.erl
@@ -144,7 +144,7 @@ delete_compaction_files(RootDir, FilePath, DelOpts) ->
 is_compacting(DbName) ->
     lists:any(
         fun(Ext) ->
-            filelib:is_regular(DbName ++ Ext)
+            filelib:is_regular(?b2l(DbName) ++ Ext)
         end,
         [".compact", ".compact.data", ".compact.meta"]
     ).