package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
GetTablesNeededExist reports the table name needed to execute ast.StmtNode the specified ast.StmtNode must be a DDLNode.
GetTablesNeededNonExist reports the table name that conflicts with ast.StmtNode the specified ast.StmtNode must be a DDLNode.
IsDDL reports weather the table DDLNode.
NewDDLSyncer create a new DDLSyncer.
NewExecutableChecker creates a new ExecutableChecker.
# Structs
DDLSyncer can sync the table structure from upstream(usually MySQL) to ExecutableChecker.
ExecutableChecker is a part of TiDB to check the sql's executability.