avoid bug

This commit is contained in:
2024-04-26 13:15:00 +00:00
parent bb4aaebc5b
commit 39dffd88cd
7 changed files with 487 additions and 26 deletions

View File

@ -17,7 +17,7 @@ class DiskManager {
* for first_empty_page_id).
*/
public:
explicit DiskManager(const std::string &file_path_);
explicit DiskManager(const std::string &file_path_, bool renew = false);
~DiskManager();
char *RawDataMemory();
size_t RawDatMemorySize();