All pages
Powered by GitBook
1 of 1

Loading...

COM_STMT_SEND_LONG_DATA

This command sends long data, such as BLOB or TEXT values, in chunks for a specific parameter of a prepared statement.

When data for a specific column is large, it can be sent separately to avoid the limitation of max_allowed_packet (see packet splitting).

Multiple COM_STMT_SEND_LONG_DATA commands with the same column ID append the data. COM_STMT_SEND_LONG_DATA is sent before COM_STMT_EXECUTE.

Fields

  • 0x18 COM_STMT_SEND_LONG_DATA header.

  • statement id.

  • parameter number.

  • data.

Response

Server doesn't send response.

This page is licensed: CC BY-SA / Gnu FDL

int<1>
int<4>
int<2>
byte