Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker uses to check tables lock.
func NewChecker ¶
func NewChecker(ctx sessionctx.Context, is infoschema.InfoSchema) *Checker
NewChecker return new lock Checker.
func (*Checker) CheckLockInDB ¶
func (c *Checker) CheckLockInDB(db string, privilege mysql.PrivilegeType) error
CheckLockInDB uses to check operation on database.
func (*Checker) CheckTableLock ¶
func (c *Checker) CheckTableLock(db, table string, privilege mysql.PrivilegeType) error
CheckTableLock uses to check table lock.
Click to show internal directories.
Click to hide internal directories.