Skip to content

Commit 87decd1

Browse files
guodongguodong
authored andcommitted
remove DatabaseConfig
1 parent 320a0fb commit 87decd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src_cpp/py_database.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ PyDatabase::PyDatabase(const std::string& databasePath, uint64_t bufferPoolSize)
1818
systemConfig.largePageBufferPoolSize =
1919
bufferPoolSize * StorageConfig::LARGE_PAGES_BUFFER_RATIO;
2020
}
21-
database = std::make_unique<Database>(DatabaseConfig(databasePath), systemConfig);
21+
database = std::make_unique<Database>(databasePath, systemConfig);
2222
}
2323

2424
void PyDatabase::resizeBufferManager(uint64_t newSize) {

0 commit comments

Comments
 (0)