Skip to content

Commit bf26c41

Browse files
fix variable shadowing
1 parent 297375f commit bf26c41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/mysql_db/mysql_db.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,7 @@ func (db *MySQLDb) AuthMethod(user, addr string) (string, error) {
774774
} else {
775775
return "", err
776776
}
777+
} else {
777778
host = splitHost
778779
}
779780
}

0 commit comments

Comments
 (0)