This commit is contained in:
兔子 2024-04-07 16:13:32 +08:00
parent 690fc4624a
commit 4a84113b83

View File

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