|
MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
事务接口 更多...
#include <trx.h>
Public 成员函数 | |
| Trx (TrxKit::Type type) | |
| virtual RC | insert_record (Table *table, Record &record)=0 |
| virtual RC | delete_record (Table *table, Record &record)=0 |
| virtual RC | update_record (Table *table, Record &old_record, Record &new_record)=0 |
| virtual RC | visit_record (Table *table, Record &record, ReadWriteMode mode)=0 |
| virtual RC | start_if_need ()=0 |
| virtual RC | commit ()=0 |
| virtual RC | rollback ()=0 |
| virtual RC | redo (Db *db, const LogEntry &log_entry)=0 |
| virtual int32_t | id () const =0 |
| TrxKit::Type | type () const |
Private 属性 | |
| TrxKit::Type | type_ |
事务接口
在 LsmMvccTrx 内被实现.
在 LsmMvccTrx , 以及 MvccTrx 内被实现.