mariadb_rpl_open()
Syntax
#include <mariadb_rpl.h>
int mariadb_rpl_open(MARIADB_RPL *rpl);Parameters
Parameter
Description
Return Value
History
See Also
Last updated
Was this helpful?
Opens a binary log stream. Registers the client as a replica with the connected server and begins streaming binary log events.
#include <mariadb_rpl.h>
int mariadb_rpl_open(MARIADB_RPL *rpl);rpl
A replication handle, previously allocated by mariadb_rpl_init(). At a minimum, MARIADB_RPL_SERVER_ID must have been set before this call.
Returns zero on success, non-zero on failure. Call mariadb_rpl_error() to retrieve the error message.
Added in MariaDB Connector/C 3.1.0.
Last updated
Was this helpful?
Was this helpful?

