diff --git a/main.go b/main.go index 9a6ccd3..ec22d90 100644 --- a/main.go +++ b/main.go @@ -166,7 +166,7 @@ func ParseBinlog() { if outPath != "" { add2Xlsx(owrt, tx, foundCount) } - if foundCount >= counts { + if counts > 0 && foundCount >= counts { return false } return true