diff --git a/cmd/go-mysqldump/main.go b/cmd/go-mysqldump/main.go index 7606bc92a..b49f0c1ef 100644 --- a/cmd/go-mysqldump/main.go +++ b/cmd/go-mysqldump/main.go @@ -33,7 +33,7 @@ func main() { os.Exit(1) } - if len(*ignoreTables) == 0 { + if len(*ignoreTables) > 0 { subs := strings.Split(*ignoreTables, ",") for _, sub := range subs { if seps := strings.Split(sub, "."); len(seps) == 2 {