[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
mysql_set_server_option()
int mysql_set_server_option(MYSQL *mysql, enum enum_mysql_set_option option)
Enables or disables an option for the connection. option
can have one
of the following values:
MYSQL_OPTION_MULTI_STATEMENTS_ON | Enable multi statement support. |
MYSQL_OPTION_MULTI_STATEMENTS_OFF | Disable multi statement support. |
Zero for success. Non-zero if an error occurred.
CR_COMMANDS_OUT_OF_SYNC
CR_SERVER_GONE_ERROR
CR_SERVER_LOST
ER_UNKNOWN_COM_ERROR
mysql_set_server_option()
(which is the
case that the server is older than 4.1.1) or the server didn't support
the option one tried to set.