您的位置:首页 > 其它

关于undo log格式中事务ID和undo_no

2015-06-25 21:57 330 查看
undo_no_t undo_no;

/** Undo number */

typedef ib_id_t undo_no_t;

/** The generic InnoDB system object identifier data type */

typedef ib_uint64_t ib_id_t;

事务对象

struct trx_t{

...

undo_no_t undo_no;

...

}

next undo log record number to assign; since the undo log is private for a transaction, this is a simple ascending sequence with no gaps; thus it represents the number of modified/inserted rows in a transaction

下一个要分配的undo log record number。因为undo log是一个事务私有,所以这是一个递增的序列,中间没有间隔。表示一个事务中modified/inserted行的number
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: