MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
CLog的记录头。每个日志都带有这个信息 更多...
#include <clog.h>
Public 成员函数 | |
bool | operator== (const CLogRecordHeader &other) const |
std::string | to_string () const |
Public 属性 | |
int32_t | lsn_ = -1 |
log sequence number。当前没有使用 | |
int32_t | trx_id_ = -1 |
日志所属事务的编号 | |
int32_t | type_ = clog_type_to_integer(CLogType::ERROR) |
日志类型 | |
int32_t | logrec_len_ = 0 |
record的长度,不包含header长度 | |
CLog的记录头。每个日志都带有这个信息