Versions in this module Expand all Collapse all v1 v1.2.1 May 30, 2024 v1.2.0 May 23, 2024 Changes in this version + const UndoLogStatusGlobalFinished + const UndoLogStatusNormal + func Int64Slice2Str(values interface{}, sep string) (string, error) + type BaseUndoLogManager struct + func NewBaseUndoLogManager() *BaseUndoLogManager + func (m *BaseUndoLogManager) BatchDeleteUndoLog(xid []string, branchID []int64, conn *sql.Conn) error + func (m *BaseUndoLogManager) DBType() types.DBType + func (m *BaseUndoLogManager) DeleteUndoLog(ctx context.Context, xid string, branchID int64, conn *sql.Conn) error + func (m *BaseUndoLogManager) FlushUndoLog(tranCtx *types.TransactionContext, conn driver.Conn) error + func (m *BaseUndoLogManager) HasUndoLogTable(ctx context.Context, conn *sql.Conn) (res bool, err error) + func (m *BaseUndoLogManager) Init() + func (m *BaseUndoLogManager) InsertUndoLog(record undo.UndologRecord, conn driver.Conn) error + func (m *BaseUndoLogManager) InsertUndoLogWithSqlConn(ctx context.Context, record undo.UndologRecord, conn *sql.Conn) error + func (m *BaseUndoLogManager) RunUndo(ctx context.Context, xid string, branchID int64, conn *sql.DB, dbName string) error + func (m *BaseUndoLogManager) Undo(ctx context.Context, dbType types.DBType, xid string, branchID int64, ...) (err error) + func (m *BaseUndoLogManager) UnmarshalContext(undoContext []byte) (map[string]string, error)