Skip to main content

build_stmt_close_packet

Function build_stmt_close_packet 

Source
pub fn build_stmt_close_packet(statement_id: u32, sequence_id: u8) -> Vec<u8> 
Expand description

Build a COM_STMT_CLOSE packet.

§Arguments

  • statement_id - The statement ID to close
  • sequence_id - The packet sequence number (typically 0)

§Note

The server does not send a response to COM_STMT_CLOSE.