MYSQLND_MAX_PACKET_SIZE 315 mysqlnd/mysqlnd_net.c size_t comp_buf_size = MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE + MIN(left, MYSQLND_MAX_PACKET_SIZE); MYSQLND_MAX_PACKET_SIZE 321 mysqlnd/mysqlnd_net.c to_be_sent = MIN(left, MYSQLND_MAX_PACKET_SIZE); MYSQLND_MAX_PACKET_SIZE 395 mysqlnd/mysqlnd_net.c } while (bytes_sent && (left > 0 || to_be_sent == MYSQLND_MAX_PACKET_SIZE)); MYSQLND_MAX_PACKET_SIZE 1397 mysqlnd/mysqlnd_wireprotocol.c if (header.size < MYSQLND_MAX_PACKET_SIZE) {