Documentation Home
MySQL Internals Manual
Download this Manual
EPUB - 1.2Mb


14.8.3 COM_SET_OPTION

Enables capabilities for the current connection to be enabled and disabled:

The option operation is one of:

Operation

Constant Name

0

MYSQL_OPTION_MULTI_STATEMENTS_ON

1

MYSQL_OPTION_MULTI_STATEMENTS_OFF

On success it returns a EOF_Packet otherwise a ERR_Packet.

COM_SET_OPTION:
COM_SET_OPTION
  set options for the current connection

  response: EOF or ERR

  payload:
    1              [1b] COM_SET_OPTION
    2              option operation

User Comments
Sign Up Login You must be logged in to post a comment.