package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
ClearOSUserForAuthSocket clears the mocked OS user for AUTH_SOCKET plugin.
CreateMockConn creates a mock connection together with a session.
CreateMockServer creates a mock server.
MockOSUserForAuthSocket mocks the OS user for AUTH_SOCKET plugin.
NewRPCServer creates a new rpc server.
NewServer creates a new Server.
NewTestServer creates a new Server for test.
NewTiDBDriver creates a new TiDBDriver.
# Variables
ConnectionInMemCounterForTest is a variable to count live connection object.
RunInGoTest represents whether we are run code in test.
RunInGoTestChan is used to control the RunInGoTest.
# Structs
Ballast try to reduce the GC frequency by using Ballast Object.
DetailStatus is to show the detail status of TiDB.
Server is the MySQL protocol server.
Status of TiDB.
TiDBContext implements QueryCtx.
TiDBDriver implements IDriver.
TiDBStatement implements PreparedStatement.
# Interfaces
IDriver opens IContext.
MockConn is a mock connection.
PreparedStatement is the interface to use a prepared statement.