#include <mysql_async.h>
◆ async_blocking_state
◆ async_bytes_wanted
size_t NET_ASYNC::async_bytes_wanted |
How many bytes we want to read.
◆ async_operation
◆ async_packet_length
size_t NET_ASYNC::async_packet_length |
Size of the packet we're currently reading.
◆ async_packet_read_state
State when waiting on an async read.
◆ async_read_query_result_status
◆ async_send_command_status
◆ async_write_headers
unsigned char* NET_ASYNC::async_write_headers |
Headers and vector for our async writes; see net_serv.c for detailed description.
◆ async_write_vector
struct io_vec* NET_ASYNC::async_write_vector |
◆ async_write_vector_current
size_t NET_ASYNC::async_write_vector_current |
◆ async_write_vector_size
size_t NET_ASYNC::async_write_vector_size |
◆ compressed_buffers_size
size_t NET_ASYNC::compressed_buffers_size |
Size of the compressed buffer.
◆ compressed_write_buffers
unsigned char** NET_ASYNC::compressed_write_buffers |
Keep track of compressed buffers.
◆ cur_pos
unsigned char* NET_ASYNC::cur_pos |
The position in buff we continue reads from when data is next available.
◆ inline_async_write_header
If the packet length is less than MAX_PACKET_LENGTH then use a static array to hold the meta packet header.
The array either holds the usual packet header or a compressed meta packet header as following. The compressed meta packet header is followwed by usual compresses packet heder that is 7 bytes in length.
Packet
Header
A generic interface for different kinds of packets.
Definition: pipeline_interfaces.h:51
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
Payload
Compressed Packet
Header
B1 B2 B3 : Compress packet
length
00 00 00 : Indicates following payload is uncompressed
Payload
B12 : COM_COMMAND
size_t size(const char *const c)
Definition: base64.h:46
◆ inline_async_write_vector
struct io_vec NET_ASYNC::inline_async_write_vector[3] |
◆ mp_state
◆ read_rows_is_first_read
bool NET_ASYNC::read_rows_is_first_read |
Simple state to know if we're reading the first row, and command/query statuses.
The documentation for this struct was generated from the following file: