-
Notifications
You must be signed in to change notification settings - Fork 258
mariadb_rpl_fetch
Georg Richter edited this page Oct 24, 2018
·
2 revisions
mariadb_rpl_fetch - fetches next event from replication stream
#include <mariadb_rpl.h>
MARIADB_RPL_EVENT *mariadb_rpl_fetch(MARIADB_RPL *rpl, MARIADB_RPL_EVENT *event)
Fetches one event from the replication stream
rpl
- A replication handle which was initialized by mariadb_rpl_init() and connected by mariadb_rpl_open().
event
- An event which was returned by a previous call to mariadb_rpl_fetch
. If this value is NULL
the function will allocate new memory for the event, otherwise the passed event value will be overwritten.
An event handle or NULL if EOF packet was received.
mariadb_rpl_fetch
was added in MariaDB Connector/C 3.1.0
MariaDB Connector/C Reference