1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00
Files
mariadb-connector-c/man/mysql_set_server_option.3
2024-10-25 07:38:00 +02:00

51 lines
1017 B
Groff

'\" t
.\" Automatically generated by Pandoc 3.5
.\"
.TH "mysql_set_server_option" "3" "" "Version 3.3" "MariaDB Connector/C"
.SS Name
mysql_set_server_option \- Sets server option
.SS Synopsis
.IP
.EX
#include \f[B]<mysql.h>\f[R]
int mysql_set_server_option(MYSQL * mysql,
\f[B]enum\f[R] enum_mysql_set_option);
.EE
.SS Description
Sets server option.
.SS Parameters
.IP \[bu] 2
\f[CR]mysql\f[R] \- a mysql handle, which was previously allocated by
\f[B]mysql_init(3)\f[R] and connected by
\f[B]mysql_real_connect(3)\f[R].
.IP \[bu] 2
\f[CR]enum_mysql_set_option\f[R] \- server option (see below) Server
option, which can be one of the following values:
.PP
.TS
tab(@);
l l.
T{
Option
T}@T{
Description
T}
_
T{
MYSQL_OPTION_MULTI_STATEMENTS_OFF
T}@T{
Disables multi statement support
T}
T{
MYSQL_OPTION_MULTI_STATEMENTS_ON
T}@T{
Enable multi statement support
T}
.TE
.SS Return value
Returns zero on success, non\-zero on failure.
.SS See also
.IP \[bu] 2
\f[B]mysql_real_connect(3)\f[R]