Documentation
¶
Overview ¶
Package mutationtest holds the statements api.IsMutation is tested on, shared by its unit test and by the integration test that checks each one against ClickHouse's own parser. Add a case here, not to either test.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cases = []Case{}/* 152 elements not displayed */
Cases is every statement api.IsMutation is tested on.
Functions ¶
This section is empty.
Types ¶
type Case ¶
type Case struct {
Name string
SQL string
// Mutation is true for a statement that goes through Exec.
Mutation bool
// Unparsed marks a statement ClickHouse rejects as a syntax error, so its
// parser has no answer to check Mutation against; the integration test
// fails if one starts to parse.
Unparsed bool
}
Case is a statement and how api.IsMutation classifies it.
Click to show internal directories.
Click to hide internal directories.