1mysql_set_server_option(3)    MariaDB Connector/C   mysql_set_server_option(3)
2
3
4
5   Name
6       mysql_set_server_option - Sets server option
7
8   Synopsis
9              #include <mysql.h>
10
11              int mysql_set_server_option(MYSQL * mysql,
12                                          enum enum_mysql_set_option);
13
14   Description
15       Sets server option.
16
17   Parameters
18       • mysql   -   a   mysql  handle,  which  was  previously  allocated  by
19         mysql_init(3) and connected by mysql_real_connect(3).
20
21       • enum_mysql_set_option - server  option  (see  below)  Server  option,
22         which can be one of the following values:
23
24       Option                      Description
25       ───────────────────────────────────────────────────────
26       MYSQL_OPTION_MULTI_STATE‐   Disables  multi  statement
27       MENTS_OFF                   support
28       MYSQL_OPTION_MULTI_STATE‐   Enable   multi   statement
29       MENTS_ON                    support
30
31   Return value
32       Returns zero on success, non-zero on failure.
33
34   See also
35mysql_real_connect(3)
36
37
38
39Version 3.3.1                                       mysql_set_server_option(3)
Impressum