bug fix
This commit is contained in:
parent
6e5ce4613c
commit
6eecb93b9c
2
parse.go
2
parse.go
@ -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
|
||||||
}
|
}
|
||||||
|
if ev.DB != "" && ev.TB != "" {
|
||||||
tx.validSchemaCount++
|
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…
x
Reference in New Issue
Block a user