Remove explicit long indicator of size defines
This commit is contained in:
@ -778,7 +778,7 @@ static int handle_rows(MAXROWS_SESSION_DATA *csdata)
|
||||
*/
|
||||
if (packetlen < MYSQL_EOF_PACKET_LEN)
|
||||
{
|
||||
MXS_ERROR("EOF packet has size of %lu instead of %ld", packetlen, MYSQL_EOF_PACKET_LEN);
|
||||
MXS_ERROR("EOF packet has size of %lu instead of %d", packetlen, MYSQL_EOF_PACKET_LEN);
|
||||
rv = send_ok_upstream(csdata);
|
||||
csdata->state = MAXROWS_EXPECTING_NOTHING;
|
||||
break;
|
||||
|
@ -2310,8 +2310,8 @@ bool blr_send_packet(ROUTER_SLAVE *slave, uint8_t *buf, uint32_t len, bool first
|
||||
}
|
||||
else
|
||||
{
|
||||
MXS_ERROR("failed to allocate %ld bytes of memory when writing an"
|
||||
" event.", datalen + MYSQL_HEADER_LEN);
|
||||
MXS_ERROR("failed to allocate %u bytes of memory when writing an "
|
||||
"event.", datalen + MYSQL_HEADER_LEN);
|
||||
rval = false;
|
||||
}
|
||||
return rval;
|
||||
|
Reference in New Issue
Block a user