From 44a5cc940fc0d17c4db04a7add9f594e42cd360b Mon Sep 17 00:00:00 2001 From: Zhichang Yu Date: Wed, 20 Dec 2023 17:09:41 +0800 Subject: [PATCH] Fix file_worker --- src/storage/buffer/file_worker/file_worker.cppm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/buffer/file_worker/file_worker.cppm b/src/storage/buffer/file_worker/file_worker.cppm index 69f3ee9c64..a6c016bf10 100644 --- a/src/storage/buffer/file_worker/file_worker.cppm +++ b/src/storage/buffer/file_worker/file_worker.cppm @@ -63,7 +63,7 @@ protected: virtual void ReadFromFileImpl() = 0; private: - String ChooseFileDir(bool spill) const { return spill ? Format("{}/{}", *temp_dir_, *file_dir_) : *file_dir_; } + String ChooseFileDir(bool spill) const { return spill ? Format("{}{}", *temp_dir_, *file_dir_) : *file_dir_; } public: const SharedPtr file_dir_{};