|
|
@ -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),
|
|
|
|