![]() |
Home | Libraries | People | FAQ | More |
The maximum size of the connection's buffer, in bytes (64MB by default).
std::size_t max_buffer_size {0x4000000};
Attempting to read or write a protocol packet bigger than this size will
fail with a client_errc::max_buffer_size_exceeded
error.
This effectively means:
execute
or async_execute
, results
objects may allocate memory beyond this limit if the total number of
rows is high.
If you need to send or receive larger packets, you may need to adjust your
server's max_allowed_packet
system variable,
too.