mirror of
https://github.com/gogrlx/bitcask.git
synced 2026-04-14 08:46:24 -07:00
patch: use directory within database path for merge (#21)
This commit is contained in:
@@ -230,7 +230,7 @@ func Merge(path string, force bool) error {
|
||||
fns = fns[:len(fns)-1]
|
||||
ids = ids[:len(ids)-1]
|
||||
|
||||
temp, err := ioutil.TempDir("", "bitcask")
|
||||
temp, err := ioutil.TempDir(path, "merge")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user