testutil

package
v1.1.0-beta.0...-caa60c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecMultiSQLInGoroutine

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

ExecMultiSQLInGoroutine exports for testing.

func ExtractAllTableHandles

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

ExtractAllTableHandles extracts all handles of a given table.

func FindIdxInfo

func FindIdxInfo(dom *domain.Domain, dbName, tbName, idxName string) *model.IndexInfo

FindIdxInfo is to get IndexInfo by index name.

func SessionExecInGoroutine

func SessionExecInGoroutine(s kv.Storage, dbName, sql string, done chan error)

SessionExecInGoroutine export for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL