We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41c2936 commit b8bd3ddCopy full SHA for b8bd3dd
packets.go
@@ -188,8 +188,10 @@ func (mc *mysqlConn) readInitPacket() (err error) {
188
mc.cipher = append(mc.cipher, data[pos:pos+12]...)
189
190
// TODO: Verify string termination
191
- // EOF for version >= (5.5.7 and < 5.5.10) or (>= 5.6.0 and < 5.6.2)
+ // EOF if version (>= 5.5.7 and < 5.5.10) or (>= 5.6.0 and < 5.6.2)
192
// \NUL otherwise
193
+ // http://dev.mysql.com/doc/internals/en/connection-phase.html#packet-Protocol::Handshake
194
+ //
195
//if data[len(data)-1] == 0 {
196
// return
197
//}
0 commit comments