MCPcopy Create free account

hub / github.com/PingCAP-QE/go-sqlsmith / functions

Functions215 in github.com/PingCAP-QE/go-sqlsmith

↓ 1 callersFunctionNewConnect
(dsn string)
tests/connect.go:13
↓ 1 callersFunctionNewSQLSmithConfig
()
cmd/config.go:55
↓ 1 callersMethodRandIndex
RandIndex rand indexes
types/table.go:112
↓ 1 callersMethodRandStmt
()
cmd/connect.go:365
↓ 1 callersMethodRandTables
RandTables rand tables
types/types.go:28
↓ 1 callersFunctionRdBool
RdBool ...
util/rand.go:150
↓ 1 callersFunctionRdCharset
RdCharset rand charset
util/rand.go:142
↓ 1 callersFunctionRdColumnOptions
RdColumnOptions for rand column option with given type
util/rand.go:126
↓ 1 callersFunctionRdDataLen
RdDataLen rand data with given type
util/rand.go:107
↓ 1 callersFunctionRdType
RdType rand data type
util/rand.go:92
↓ 1 callersMethodRollback
()
cmd/executor.go:46
↓ 1 callersMethodRun
Run starts running SQLSmith
cmd/connect.go:242
↓ 1 callersMethodRunOnce
RunOnce ...
cmd/connect.go:300
↓ 1 callersFunctionType2Tp
Type2Tp conver type string to tp byte TODO: complete conversion map
util/conversion.go:20
↓ 1 callersMethodWalkTree
WalkTree parse
stateflow/walker.go:27
↓ 1 callersMethodalterTableSpec
()
ddl_ast.go:54
↓ 1 callersMethodalterTableSpecAddColumns
()
ddl_ast.go:72
↓ 1 callersMethodalterTableSpecAddColumns
(node *ast.AlterTableSpec, table *types.Table)
stateflow/walker_ddl.go:299
↓ 1 callersMethodalterTableSpecDropColumn
(node *ast.AlterTableSpec, table *types.Table)
stateflow/walker_ddl.go:310
↓ 1 callersMethodalterTableSpecDropIndex
()
ddl_ast.go:79
↓ 1 callersMethodalterTableSpecDropIndex
(node *ast.AlterTableSpec, table *types.Table)
stateflow/walker_ddl.go:317
↓ 1 callersMethodalterTableStmt
()
ddl_ast.go:36
↓ 1 callersFunctioncopyFunc
(fn *functionClass)
builtin/function.go:66
↓ 1 callersMethodcreateIndexStmt
()
ddl_ast.go:92
↓ 1 callersMethodcreateTableStmt
()
ddl_ast.go:22
↓ 1 callersMethoddebugPrintf
(f string, a ...interface{})
debug.go:24
↓ 1 callersMethoddeleteStmt
()
dml_ast.go:92
↓ 1 callersMethodforkDB
(concurrency int)
cmd/connect.go:216
↓ 1 callersMethodgenerateDataItem
(columnType string)
data_gen.go:89
↓ 1 callersMethodgenerateDateItem
()
data_gen.go:117
↓ 1 callersMethodgenerateFloatItem
()
data_gen.go:113
↓ 1 callersMethodgenerateIntItem
()
data_gen.go:109
↓ 1 callersFunctiongetDSN
()
cmd/main.go:37
↓ 1 callersFunctiongetDSN
()
tests/main.go:32
↓ 1 callersFunctiongetFuncMap
()
builtin/function_list.go:31
↓ 1 callersFunctiongetValidArgsFunc
(args int, stable bool)
builtin/function.go:50
↓ 1 callersMethodinsertStmt
()
dml_ast.go:79
↓ 1 callersMethodmakeColumnOption
(column *types.Column, option ast.ColumnOptionType)
stateflow/walker_ddl.go:118
↓ 1 callersMethodmakeList
(columns []*types.Column)
stateflow/walker.go:313
↓ 1 callersFunctionmapFn
(arr [][]string, fn func([]string) string)
data_gen.go:81
↓ 1 callersMethodmergeTable
(table1 *types.Table, table2 *types.Table)
stateflow/schema.go:135
↓ 1 callersFunctionmin
(a, b int)
types/table.go:58
↓ 1 callersMethodpatternInExpr
()
dml_ast.go:215
↓ 1 callersMethodrandNewTable
()
stateflow/schema.go:201
↓ 1 callersMethodrdDate
()
rand.go:36
↓ 1 callersMethodrdRange
(n, m int)
rand.go:25
↓ 1 callersMethodrdString
(length int)
rand.go:51
↓ 1 callersMethodrenameTable
(table *types.Table)
stateflow/schema.go:191
↓ 1 callersMethodrun
(i int, stopCh <-chan struct{}, doneCh chan struct{}, errCh chan *Result)
cmd/connect.go:286
↓ 1 callersMethodselectForUpdateStmt
(depth int)
dml_ast.go:51
↓ 1 callersMethodshouldNotWalkHere
(a ...interface{})
stateflow/util.go:27
↓ 1 callersMethodupdateStmt
()
dml_ast.go:57
↓ 1 callersMethodwalkAlterTableStmt
(node *ast.AlterTableStmt)
stateflow/walker_ddl.go:64
↓ 1 callersMethodwalkAssignmentList
(list *[]*ast.Assignment, table *types.Table)
stateflow/walker.go:268
↓ 1 callersMethodwalkBinaryOperationExpr
(node *ast.BinaryOperationExpr, table *types.Table)
stateflow/walker.go:287
↓ 1 callersMethodwalkColumnNameExpr
(node *ast.ColumnNameExpr, table *types.Table)
stateflow/walker.go:239
↓ 1 callersMethodwalkColumns
(columns *[]*ast.ColumnName, table *types.Table)
stateflow/walker.go:291
↓ 1 callersMethodwalkCreateIndexStmt
(node *ast.CreateIndexStmt)
stateflow/walker_ddl.go:87
↓ 1 callersMethodwalkCreateTableStmt
(node *ast.CreateTableStmt)
stateflow/walker_ddl.go:39
↓ 1 callersMethodwalkDeleteStmt
(node *ast.DeleteStmt)
stateflow/walker.go:115
↓ 1 callersMethodwalkInsertStmt
(node *ast.InsertStmt)
stateflow/walker.go:108
↓ 1 callersMethodwalkLists
(lists *[][]ast.ExprNode, columns []*types.Column)
stateflow/walker.go:306
↓ 1 callersMethodwalkOnStmt
(node *ast.OnCondition, table1, table2 *types.Table)
stateflow/walker.go:122
↓ 1 callersMethodwalkOrderByClause
(node *ast.OrderByClause, table *types.Table)
stateflow/walker.go:328
↓ 1 callersMethodwalkPartition
(node *ast.PartitionOptions, column *types.Column)
stateflow/walker_ddl.go:170
↓ 1 callersMethodwalkPartitionDefinitions
(definitions *[]*ast.PartitionDefinition, column *types.Column)
stateflow/walker_ddl.go:208
↓ 1 callersMethodwalkPartitionDefinitionsDatetime
(definitions *[]*ast.PartitionDefinition)
stateflow/walker_ddl.go:263
↓ 1 callersMethodwalkPartitionDefinitionsInt
(definitions *[]*ast.PartitionDefinition)
stateflow/walker_ddl.go:230
↓ 1 callersMethodwalkPartitionDefinitionsString
(definitions *[]*ast.PartitionDefinition)
stateflow/walker_ddl.go:245
↓ 1 callersMethodwalkPartitionDefinitionsTimestamp
(definitions *[]*ast.PartitionDefinition)
stateflow/walker_ddl.go:281
↓ 1 callersMethodwalkPatternInExpr
(node *ast.PatternInExpr, table *types.Table)
stateflow/walker.go:357
↓ 1 callersMethodwalkTableOption
(node *ast.CreateTableStmt)
stateflow/walker_ddl.go:155
↓ 1 callersMethodwalkTree
(node ast.Node)
stateflow/walker.go:38
↓ 1 callersMethodwalkUpdateStmt
(node *ast.UpdateStmt)
stateflow/walker.go:93
MethodBeginWithOnlineTables
BeginWithOnlineTables begins a transaction with some online tables
schema.go:71
MethodClone
Clone makes a replica of column
types/column.go:33
MethodDebug
Debug turn on debug mode
sqlsmith.go:55
MethodEndTransaction
EndTransaction ends transaction and set every table offline
schema.go:89
FunctionGenerateTypeFuncCallExpr
GenerateTypeFuncCallExpr generate FuncCallExpr by given type
builtin/genetate.go:25
FunctionInfo
Info ...
util/log.go:19
MethodInsertStmtStr
InsertStmtStr make random insert statement SQL
dml_sql.go:57
MethodLen
()
types/table.go:42
MethodLess
(i, j int)
types/table.go:44
FunctionMaxInt
MaxInt ...
util/util.go:53
FunctionRdString
RdString rand string with given length
util/rand.go:67
MethodSetHint
SetHint ...
sqlsmith.go:95
MethodSetStable
SetStable set stable to given value
sqlsmith.go:85
MethodStable
Stable set generated SQLs no rand
sqlsmith.go:80
MethodSwap
(i, j int)
types/table.go:43
FunctionTestSQLSmith_AlterTable
TestSQLSmith_AlterTable tests alter table statement
ddl_test.go:30
FunctionTestSQLSmith_CreateIndex
TestSQLSmith_CreateIndex tests create index statement
ddl_test.go:41
FunctionTestSQLSmith_CreateTable
TestSQLSmith_CreateTable tests create table statement
ddl_test.go:21
FunctionTestSQLSmith_DataGenerator
TestSQLSmith_DataGenerator tests with data generator
data_generator_test.go:19
FunctionTestSQLSmith_Delete
TestSQLSmith_Delete tests delete statment
dml_test.go:88
FunctionTestSQLSmith_Insert
TestSQLSmith_Insert tests insert statment
dml_test.go:71
FunctionTestSQLSmith_LoadIndexes
TestSQLSmith_LoadIndexes tests with load table indexes
schema_test.go:93
FunctionTestSQLSmith_Select
TestSQLSmith_Select tests select statment
dml_test.go:22
FunctionTestSQLSmith_SelectForUpdateStmt
TestSQLSmith_SelectForUpdateStmt tests select for update statement
dml_test.go:38
FunctionTestSQLSmith_TableGetColumns
(t *testing.T)
types/table_test.go:22
FunctionTestSQLSmith_TestIfDaylightTime
(t *testing.T)
util/generate_data_item_test.go:26
← previousnext →101–200 of 215, ranked by callers