master
兔子 1 year ago
parent 6e5ce4613c
commit 6eecb93b9c

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

Loading…
Cancel
Save