Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Mode string `toml:"mode"`
DSN1 string `toml:"dsn1"`
DSN2 string `toml:"dsn2"`
DSN3 string `toml:"dsn3"`
Options Options `toml:"options"`
Generator Generator `toml:"generator"`
}
Config struct
type Options ¶
type Options struct {
ClearDB bool `toml:"clear-db"`
Stable bool `toml:"stable"`
Reproduce bool `toml:"reproduce"`
Concurrency int `toml:"concurrency"`
InitTable int `toml:"init-table"`
Path string `toml:"path"`
Duration types.Duration `toml:"duration"`
CheckDuration types.Duration `toml:"check-duration"`
OnlineDDL bool `toml:"online-ddl"`
Serialize bool `toml:"serialize"`
GeneralLog bool `toml:"general-log"`
SyncTimeout types.Duration `toml:"check-duration"`
EnableHint bool `toml:"enable-hint"`
}
Options struct
type SQLSmith ¶
type SQLSmith struct {
TxnBegin int `toml:"txn-begin"`
TxnCommit int `toml:"txn-commit"`
TxnRollback int `toml:"txn-rollback"`
DDLCreateTable int `toml:"ddl-create-table"`
DDLAlterTable int `toml:"ddl-alter-table"`
DDLCreateIndex int `toml:"ddl-create-index"`
DMLSelect int `toml:"dml-select"`
DMLSelectForUpdate int `toml:"dml-select-for-update"`
DMLDelete int `toml:"dml-delete"`
DMLUpdate int `toml:"dml-update"`
DMLInsert int `toml:"dml-insert"`
Sleep int `toml:"sleep"`
}
SQLSmith for sqlsmith generator configuration only
Click to show internal directories.
Click to hide internal directories.