Skip to content

Commit d67df91

Browse files
liuhuanxglance6716
andauthored
FIX:The problem of the ignoreTables parameter not taking effect in the go-mysqldump package (#910)
Co-authored-by: lance6716 <lance6716@gmail.com>
1 parent 39e2e96 commit d67df91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/go-mysqldump/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func main() {
3333
os.Exit(1)
3434
}
3535

36-
if len(*ignoreTables) == 0 {
36+
if len(*ignoreTables) > 0 {
3737
subs := strings.Split(*ignoreTables, ",")
3838
for _, sub := range subs {
3939
if seps := strings.Split(sub, "."); len(seps) == 2 {

0 commit comments

Comments
 (0)