diff --git a/src/log/log_records/delete_log.cpp b/src/log/log_records/delete_log.cpp index ece62b4..eba8e6b 100644 --- a/src/log/log_records/delete_log.cpp +++ b/src/log/log_records/delete_log.cpp @@ -41,6 +41,7 @@ std::shared_ptr DeleteLog::DeserializeFrom(lsn_t lsn, const char *dat void DeleteLog::Undo(BufferPool &buffer_pool, Catalog &catalog, LogManager &log_manager, lsn_t undo_next_lsn) { // 恢复删除的记录 + // 通过 catalog_ 获取 db_oid // LAB 2 BEGIN } diff --git a/src/log/log_records/insert_log.cpp b/src/log/log_records/insert_log.cpp index 757dfcc..2ccc6b5 100644 --- a/src/log/log_records/insert_log.cpp +++ b/src/log/log_records/insert_log.cpp @@ -70,6 +70,7 @@ std::shared_ptr InsertLog::DeserializeFrom(lsn_t lsn, const char *dat void InsertLog::Undo(BufferPool &buffer_pool, Catalog &catalog, LogManager &log_manager, lsn_t undo_next_lsn) { // 将插入的记录删除 + // 通过 catalog_ 获取 db_oid // LAB 2 BEGIN }