Documentation Home
MySQL Internals Manual


14.7.8 COM_STMT_RESET

COM_STMT_RESET resets the data of a prepared statement which was accumulated with COM_STMT_SEND_LONG_DATA commands and closes the cursor if it was opened with COM_STMT_EXECUTE

The server will send a OK_Packet if the statement could be reset, a ERR_Packet if not.

COM_STMT_RESET:
COM_STMT_RESET
  direction: client -> server
  response: OK or ERR

  payload:
    1              [1a] COM_STMT_RESET
    4              statement-id

  example:
    05 00 00 00 1a 01 00 00    00                         .........

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.