MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | Private 属性 | 所有成员列表
MvccTrxLogOperation类 参考final

表示各种操作类型 更多...

#include <mvcc_trx_log.h>

Public 类型

enum class  Type : int32_t { INSERT_RECORD , DELETE_RECORD , COMMIT , ROLLBACK }
 

Public 成员函数

 MvccTrxLogOperation (Type type)
 
 MvccTrxLogOperation (int32_t type)
 
Type type () const
 
int32_t index () const
 
string to_string () const
 

Private 属性

Type type_
 

详细描述

表示各种操作类型

成员枚举类型说明

◆ Type

enum class MvccTrxLogOperation::Type : int32_t
strong
枚举值
INSERT_RECORD 

插入一条记录

DELETE_RECORD 

删除一条记录

COMMIT 

提交事务

ROLLBACK 

回滚事务


该类的文档由以下文件生成: