Skip to content

Commit a5dbd7c

Browse files
committed
fix: 更新单元测试以适配LRU-C重构后的新API
- DiskManager/BufferPoolManager 改为值类型全局对象,移除 unique_ptr 包装 - LRUReplacer 适配无参构造函数及 LRU-C 淘汰策略 - RmManager/BufferPoolManager 适配默认构造函数 - insert_record/update_record 适配新增 TupleMeta 参数 - 以 get_record + try-catch 替代已删除的 is_record 接口 - 移除与 defs.h 重复的 Rid operator<< 定义 - 测试清理时调用 delete_all_pages 防止 fd 复用导致的缓冲池污染 - 为所有测试点添加中文注释说明测试目的
1 parent 680bf54 commit a5dbd7c

1 file changed

Lines changed: 150 additions & 130 deletions

File tree

0 commit comments

Comments
 (0)