File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ func (mc *mysqlConn) readInitPacket() (err error) {
127
127
// status flags [2 bytes]
128
128
// capability flags (upper 2 bytes) [2 bytes]
129
129
// length of auth-plugin-data [1 byte]
130
- // reserved (all [00]) [10 byte ]
130
+ // reserved (all [00]) [10 bytes ]
131
131
pos += 1 + 2 + 2 + 1 + 10
132
132
133
133
// second part of the password cipher [12? bytes]
@@ -195,7 +195,7 @@ func (mc *mysqlConn) writeAuthPacket() error {
195
195
// Charset [1 byte]
196
196
data [12 ] = mc .charset
197
197
198
- // Filler [23 byte ] (all 0x00)
198
+ // Filler [23 bytes ] (all 0x00)
199
199
pos := 13 + 23
200
200
201
201
// User [null terminated string]
@@ -304,7 +304,7 @@ func (mc *mysqlConn) readResultOK() error {
304
304
case iEOF : // someone is using old_passwords
305
305
return errOldPassword
306
306
307
- default : // ERROR otherwise
307
+ default : // Error otherwise
308
308
return mc .handleErrorPacket (data )
309
309
}
310
310
}
@@ -732,7 +732,7 @@ func (rc *mysqlRows) readBinaryRow(dest []driver.Value) (err error) {
732
732
dest [i ] = nil
733
733
continue
734
734
735
- // Numeric Typs
735
+ // Numeric Types
736
736
case fieldTypeTiny :
737
737
if unsigned {
738
738
dest [i ] = int64 (data [pos ])
You can’t perform that action at this time.
0 commit comments