MCPcopy Create free account
hub / github.com/actiontech/dtle / isSkipQuery

Function isSkipQuery

driver/mysql/binlog/binlog_reader.go:1222–1236  ·  view source on GitHub ↗
(sql string)

Source from the content-addressed store, hash-verified

1220)
1221
1222func isSkipQuery(sql string) bool {
1223 if regexCreateTrigger.MatchString(sql) {
1224 return true
1225 }
1226
1227 if regexCreateEvent.MatchString(sql) {
1228 return true
1229 }
1230
1231 if regexAlterEvent.MatchString(sql) {
1232 return true
1233 }
1234
1235 return false
1236}
1237func isExpandSyntaxQuery(sql string) bool {
1238 sql = strings.ToLower(sql)
1239

Callers 2

Test_isSkipQueryFunction · 0.85
handleQueryEventMethod · 0.85

Calls

no outgoing calls

Tested by 1

Test_isSkipQueryFunction · 0.68