This commit is contained in:
兔子 2023-07-03 14:46:11 +08:00
parent 6e5ce4613c
commit 6eecb93b9c

View File

@ -622,7 +622,9 @@ func parseBinlogWithFilter(r io.Reader, parse *replication.BinlogParser, filter
if !matchTbs(ev.DB, ev.TB) {
continue
}
if ev.DB != "" && ev.TB != "" {
tx.validSchemaCount++
}
tx.Txs = append(tx.Txs, TxDetail{
StartPos: startPos,
EndPos: int(h.LogPos),