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

Function skipMysqlSchemaEvent

driver/mysql/binlog/binlog_reader.go:1253–1260  ·  view source on GitHub ↗
(tableLower string)

Source from the content-addressed store, hash-verified

1251}
1252
1253func skipMysqlSchemaEvent(tableLower string) bool {
1254 switch tableLower {
1255 case "event", "func", "proc", "tables_priv", "columns_priv", "procs_priv", "user":
1256 return false
1257 default:
1258 return true
1259 }
1260}
1261
1262func (b *BinlogReader) skipRowEvent(rowsEvent *replication.RowsEvent, dml int8) (bool, *common.TableContext) {
1263 tableOrigin := string(rowsEvent.Table.Table)

Callers 1

skipRowEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected