222
222
/* At this point we write connection message and read reply */
223
223
if (net_write_command(net, (unsigned char) protocol_version, (unsigned char*) "", 0,
224
224
(unsigned char*) buff, (size_t) (end-buff)) ||
226
226
pkt_len < MIN_HANDSHAKE_SIZE)
228
228
my_error(ER_HANDSHAKE_ERROR, MYF(0),