Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
mariadb_rpl_fetch(3)	       MariaDB Connector/C	    mariadb_rpl_fetch(3)

   Name
     mariadb_rpl_fetch - fetches next event from replication stream

   Synopsis
	    #include <mariadb_rpl.h>

	    MARIADB_RPL_EVENT *mariadb_rpl_fetch(MARIADB_RPL *rpl, MARIADB_RPL_EVENT *event)

   Description
     Fetches one event from the replication stream

   Parameter
     * rpl  -  A replication handle which was initialized by mariadb_rpl_init(3)
       and connected by mariadb_rpl_open(3).

     * event - An  event  which  was  returned	by  a  previous  call  to  mari-
       adb_rpl_fetch.  If this value is NULL the function will allocate new mem-
       ory for the event, otherwise the passed event value will be overwritten.

   Return value
     An event handle or NULL if EOF packet was received.

   Notes
     Event memory needs to be freed by calling mariadb_rpl_free_event(3).

   See also
     * mariadb_rpl_free_event(3)

   History
     mariadb_rpl_fetch was added in MariaDB Connector/C 3.1.0

Version 3.4						    mariadb_rpl_fetch(3)

Want to link to this manual page? Use this URL:
<
https://man.freebsd.org/cgi/man.cgi?query=mariadb_rpl_fetch&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help