undo

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchUndoLog

type BranchUndoLog struct {
	Xid         string
	BranchID    int64
	SqlUndoLogs []*SqlUndoLog
}

type SqlUndoLog

type SqlUndoLog struct {
	SqlType     sqlparser.SQLType
	TableName   string
	BeforeImage *schema.TableRecords
	AfterImage  *schema.TableRecords
}

func (*SqlUndoLog) GetUndoRows

func (undoLog *SqlUndoLog) GetUndoRows() *schema.TableRecords

func (*SqlUndoLog) SetTableMeta

func (undoLog *SqlUndoLog) SetTableMeta(tableMeta schema.TableMeta)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL