testutil

package
v0.0.0-...-503c688 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 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