Skip to content

Commit b8bd3dd

Browse files
committed
todo fmt
1 parent 41c2936 commit b8bd3dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packets.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,10 @@ func (mc *mysqlConn) readInitPacket() (err error) {
188188
mc.cipher = append(mc.cipher, data[pos:pos+12]...)
189189

190190
// TODO: Verify string termination
191-
// EOF for version >= (5.5.7 and < 5.5.10) or (>= 5.6.0 and < 5.6.2)
191+
// EOF if version (>= 5.5.7 and < 5.5.10) or (>= 5.6.0 and < 5.6.2)
192192
// \NUL otherwise
193+
// http://dev.mysql.com/doc/internals/en/connection-phase.html#packet-Protocol::Handshake
194+
//
193195
//if data[len(data)-1] == 0 {
194196
// return
195197
//}

0 commit comments

Comments
 (0)