tidb: github.com/pingcap/tidb/ddl/testutil Index | Files

package testutil

import "github.com/pingcap/tidb/ddl/testutil"

Index

Package Files

testutil.go

func ExecMultiSQLInGoroutine Uses

func ExecMultiSQLInGoroutine(c *check.C, s kv.Storage, dbName string, multiSQL []string, done chan error)

ExecMultiSQLInGoroutine exports for testing.

func ExtractAllTableHandles Uses

func ExtractAllTableHandles(se session.Session, dbName, tbName string) ([]int64, error)

ExtractAllTableHandles extracts all handles of a given table.

func SessionExecInGoroutine Uses

func SessionExecInGoroutine(c *check.C, s kv.Storage, sql string, done chan error)

SessionExecInGoroutine export for testing.

Package testutil imports 9 packages (graph). Updated 2020-05-30. Refresh now. Tools for package owners.