Documentation ¶
Index ¶
Constants ¶
View Source
const AgeMax int = 120
AgeMax limits the max number of tuple generated for t_user.age
Variables ¶
View Source
var Logger = logutil.DDLLogger()
Logger is the global logger in this package
Functions ¶
This section is empty.
Types ¶
type StmtCase ¶
type StmtCase struct {
// contains filtered or unexported fields
}
StmtCase is a description of all kinds of DDL statements
DDL case may be referenced for more than one test cases, before which `AdminPauseTestTable` should have been created.
Definitions:
- `globalID` indicates the sequence number among all cases, even in different case array
- `stmt` is normally the case you care
- `jobState`, refer to model.SchemaState, the target state of the DDL which we want to pause
- `isJobPausable` indicates that the `admin pause` should return true within certain `StmtCase` object
- `preConditionStmts` should always be run before all kinds cases, to satify the requirement of `stmt`
- `rollbackStmts` should be run if necessary to clean the object created by the 'preConditionStmts' or `stmt`, no matter what is the result of `stmt`
type TestTableUser ¶
type TestTableUser struct {
// contains filtered or unexported fields
}
TestTableUser indicates the columns of table `t_user` to generate tuples
Click to show internal directories.
Click to hide internal directories.