master
兔子 7 months ago
parent 690fc4624a
commit 4a84113b83

@ -491,8 +491,10 @@ func parseBinlogWithFilter(r io.Reader, parse *replication.BinlogParser, filter
} }
} }
} }
tx.Txs = txs if !matched {
if len(txs) == 0 && matched { tx.Txs = txs
}
if len(tx.Txs) == 0 && matched {
return true return true
} }
return fn(tx) return fn(tx)

Loading…
Cancel
Save