MySQL 9.1.0
Source Code Documentation
COM_STMT_CLOSE

COM_STMT_CLOSE deallocates a prepared statement.

No response packet is sent back to the client.

Returns
None
Payload
TypeNameDescription
int<1> status [0x19] COM_STMT_CLOSE
int<4> statement_id ID of the prepared statement to close
Example
05 00 00 00 19 01 00 00 00 .........
See also
mysql_stmt_close, mysql_stmt_prepare, mysqld_stmt_close, mysql_stmt_precheck