fix mysqltest case in master

This commit is contained in:
obdev 2023-04-24 07:44:46 +00:00 committed by ob-robot
parent f2c45a5f49
commit 565f3e5325

View File

@ -100,9 +100,9 @@ static int easy_decode_uint16(char *buf, const int64_t data_len, int64_t *pos, u
*val = (uint16_t)(*val | (*(buf + (*pos)++) & 0xff));
}
return ret;
}
return ret;
}
static int easy_encode_negotiation_msg(easy_negotiation_msg_t *ne_msg, char *buf, int buf_len, int64_t *encode_len)
{
int ret = EASY_OK;
@ -128,9 +128,9 @@ static int easy_encode_negotiation_msg(easy_negotiation_msg_t *ne_msg, char *buf
ret = easy_encode_uint64(buf, buf_len, &pos, ne_msg->msg_body.eio_magic);
if (ret != EASY_OK) {
easy_error_log("send negotiation msg, encode eio magic failed!");
return ret;
}
return ret;
}
buf[pos++] = ne_msg->msg_body.io_thread_index;
*encode_len = pos;