Documentation ¶
Index ¶
- func ExecMultiSQLInGoroutine(s kv.Storage, dbName string, multiSQL []string, done chan error)
- func ExtractAllTableHandles(se session.Session, dbName, tbName string) ([]int64, error)
- func FindIdxInfo(dom *domain.Domain, dbName, tbName, idxName string) *model.IndexInfo
- func SessionExecInGoroutine(s kv.Storage, dbName, sql string, done chan error)
- func TestMatchCancelState(t *testing.T, job *model.Job, cancelState interface{}, sql string) bool
- type SubStates
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecMultiSQLInGoroutine ¶
ExecMultiSQLInGoroutine exports for testing.
func ExtractAllTableHandles ¶
ExtractAllTableHandles extracts all handles of a given table.
func FindIdxInfo ¶
FindIdxInfo is to get IndexInfo by index name.
func SessionExecInGoroutine ¶
SessionExecInGoroutine export for testing.
Types ¶
Click to show internal directories.
Click to hide internal directories.