-
Notifications
You must be signed in to change notification settings - Fork 267
mariadb_rpl_optionsv
Georg Richter edited this page Oct 24, 2018
·
3 revisions
mariadb_rpl_optionsv - sets replication options
#include <mariadb_rpl.h>
int mariadb_rpl_optionsv(MARIADB_RPL *rpl, enum mariadb_rpl_option option, ...)
-
rpl
- a replication handle which was previously allocated by mariadb_rpl_init -
option
- The option to be set, followed by one or more values
Option | Type | Description |
---|---|---|
MARIADB_RPL_FILENAME | char * | The name of binglog file |
MARIADB_RPL_START | unsigned long | Start position |
MARIADB_RPL_SERVER_ID | uint32_t | Server id |
MARIADB_RPL_FLAGS | uint32_t | Flags |
Returns zero on success, non zero on error.
mariadb_rpl_optionsv
was added in MariaDB Connector/C 3.1.0
MariaDB Connector/C Reference