mariadb_rpl_init - mariadb-corporation/mariadb-connector-c GitHub Wiki
mariadb_rpl_init - allocates and initializes a replication handle
#include <mysql.h>
#include <mariadb.h>
MARIADB_RPL *mariadb_rpl_init(MYSQL *mysql)
Allocates and initializes a replication handle.
-
mysql
- A connection handle which was previously connected by mysql_real_connect().
A replication handle or NULL on error.
The replication handle needs to be released by mariadb_rpl_close().
mariadb_rpl_init
was added in MariaDB Connector/C 3.1.0