1mariadb_rpl_optionsv(3)       MariaDB Connector/C      mariadb_rpl_optionsv(3)
2
3
4
5   Name
6       mariadb_rpl_optionsv - sets replication options
7
8   Synopsis
9              #include <mariadb_rpl.h>
10
11              int mariadb_rpl_optionsv(MARIADB_RPL *rpl, enum mariadb_rpl_option option, ...)
12
13   Parameter
14       • rpl  -  a replication handle which was previously allocated by <mari‐
15         adb_rpl_init>
16
17       • option - The option to be set, followed by one or more values
18
19       Option              Type            Description
20       ────────────────────────────────────────────────────────
21       MARIADB_RPL_FILE‐   char *          The name of binglog
22       NAME                                file
23       MARIADB_RPL_START   unsigned long   Start position
24       MARIADB_RPL_SERV‐   uint32_t        Server id
25       ER_ID
26       MARIADB_RPL_FLAGS   uint32_t        Flags
27
28   Return value
29       Returns zero on success, non zero on error.
30
31   See also
32mariadb_rpl_get_optionsv(3)
33
34mariadb_rpl_open(3)
35
36   History
37       mariadb_rpl_optionsv was added in MariaDB Connector/C 3.1.0
38
39
40
41Version 3.2.2                                          mariadb_rpl_optionsv(3)
Impressum