package
2.1.0-rc.2+incompatible
Repository: https://github.com/coderushing/tidb.git
Documentation: pkg.go.dev
# Functions
CancelJobs cancels the DDL jobs.
CheckIndicesCount compares indices count with table count.
CheckRecordAndIndex is exported for testing.
CompareIndexData compares index data one by one.
CompareTableRecord compares data and the corresponding table data one by one.
GetDDLInfo returns DDL information.
GetDDLJobs get all DDL jobs and sorts jobs by job.ID.
GetHistoryDDLJobs returns the DDL history jobs and an error.
ScanIndexData scans the index handles and values in a limited number, according to the index information.
ScanSnapshotTableRecord scans the ver version of the table data in a limited number.
ScanTableRecord scans table row handles and column values in a limited number.
# Constants
DefNumHistoryJobs is default value of the default number of history job.
MaxHistoryJobs is exported for testing.
# Variables
ErrDataInConsistent indicate that meets inconsistent data.
# Structs
DDLInfo is for DDL information.
RecordData is the record data composed of a handle and values.