Skip to content

Commit

Permalink
Show only GTID diff in trace queries
Browse files Browse the repository at this point in the history
  • Loading branch information
noname0443 committed Dec 13, 2024
1 parent 81682f5 commit b4ea9ac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/mysql/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ func (n *Node) getQuery(name string) string {

func (n *Node) traceQuery(query string, arg interface{}, result interface{}, err error) {
query = queryOnliner.ReplaceAllString(query, " ")
strings.HasPrefix(query, DefaultQueries[querySlaveStatus])
if n.config.ShowOnlyGTIDDiff && IsGtidQuery(query) {
return
}
Expand Down

0 comments on commit b4ea9ac

Please sign in to comment.