package
1.1.0-beta
Repository: https://github.com/3pointer/tidb.git
Documentation: pkg.go.dev

# Functions

NewCIStr creates a new CIStr.
NewExtraHandleColInfo mocks a column info for extra handle column.

# Constants

List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
List DDL actions.
ExtraHandleID is the column ID of column which we need to append to schema to occupy the handle's position for use of execution phase.
IndexTypes.
IndexTypes.
IndexTypes.
List job states.
JobStateCancelling is used to mark the DDL job is cancelled by the client, but the DDL work hasn't handle it.
List job states.
List job states.
List job states.
When DDL encountered an unrecoverable error at reorganization state, some keys has been added already, we need to remove them.
List job states.
JobStateSynced is used to mark the information about the completion of this job has been synchronized to all servers.
StateDeleteOnly means we can only delete items for this schema element.
StateDeleteReorganization means we are re-organizating whole data after delete only state.
StateNone means this schema element is absent and can't be used.
StatePublic means this schema element is ok for all write and read operations.
StateWriteOnly means we can use any write operation on this schema element, but outer can't read the changed data.
StateWriteReorganization means we are re-organizating whole data after write only state.

# Variables

ExtraHandleName is the name of ExtraHandle Column.

# Structs

CIStr is case insensitive string.
ColumnInfo provides meta data describing of a table column.
DBInfo provides meta data describing a DB.
FKInfo provides meta data describing a foreign key constraint.
HistoryInfo is used for binlog.
IndexColumn provides index column info.
IndexInfo provides meta data describing a DB index.
Job is for a DDL operation.
SchemaDiff contains the schema modification at a particular schema version.
TableInfo provides meta data describing a DB table.

# Type aliases

ActionType is the type for DDL action.
IndexType is the type of index.
JobState is for job state.
SchemaState is the state for schema elements.