Skip to content

Commit

Permalink
FIX:The problem of the ignoreTables parameter not taking effect in th…
Browse files Browse the repository at this point in the history
…e go-mysqldump package (#910)

Co-authored-by: lance6716 <[email protected]>
  • Loading branch information
liuhuanxg and lance6716 authored Sep 2, 2024
1 parent 39e2e96 commit d67df91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/go-mysqldump/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d67df91

Please sign in to comment.