Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 636 Bytes

4.3_Binary_Protocol.md

File metadata and controls

24 lines (17 loc) · 636 Bytes

4.3 二进制协议 (Prepared Statements)

4.3.1 Supported

  • COM_STMT_CLOSE
    Closes a previously prepared statement.

  • COM_STMT_EXECUTE
    Executes a previously prepared statement.

  • COM_STMT_RESET
    Resets a prepared statement on client and server to state after preparing.

  • COM_STMT_SEND_LONG_DATA
    When data for a specific column is big, it can be sent separately.

4.3.2 Faked

  • COM_STMT_PREPARE
    Prepares a statement on the server
    COM_STMT_PREPARE response is faked. Parameters and numbers are faked.

4.3.3 Not Supported

  • COM_STMT_FETCH
    Fetches rows from a prepared statement