We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84a0be0 commit 0bd942aCopy full SHA for 0bd942a
client/auth.go
@@ -106,7 +106,7 @@ func (c *Conn) readInitialHandshake() error {
106
// generate auth response data according to auth plugin
107
//
108
// NOTE: the returned boolean value indicates whether to add a \NUL to the end of data.
109
-// it is quite tricky because MySQl server expects different formats of responses in different auth situations.
+// it is quite tricky because MySQL server expects different formats of responses in different auth situations.
110
// here the \NUL needs to be added when sending back the empty password or cleartext password in 'sha256_password'
111
// authentication.
112
func (c *Conn) genAuthResponse(authData []byte) ([]byte, bool, error) {
0 commit comments