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 !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)