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

FreeBSD Manual Pages

  
 
  

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

   Name
       mariadb_rpl_optionsv - sets replication options

   Synopsis
	      #include <mariadb_rpl.h>

	      int mariadb_rpl_optionsv(MARIADB_RPL *rpl, enum mariadb_rpl_option option, ...)

   Parameter
        rpl  -	 a  replication	handle which was previously allocated by mari-
	 adb_rpl_init

        option	- The option to	be set,	followed by one	or more	values

       Option			 Type			    Description
       -----------------------------------------------------------------------------
       MARIADB_RPL_FILENAME	 char *			    The	 name  of   binglog
							    file
       MARIADB_RPL_START	 unsigned long		    Start position
       MARIADB_RPL_SERVER_ID	 uint32_t		    Server id
       MARIADB_RPL_FLAGS	 uint32_t		    Flags
       MARIADB_RPL_VER-		 uint32_t		    Verify  CRC32  checksum
       IFY_CHECKSUM					    (option added  in  ver-
							    sion 3.3.5)
       MARIADB_RPL_PORT		 uint32_t		    Port   of	replication
							    client (option added in
							    version 3.3.5)
       MARIADB_RPL_HOST		 char *			    Name   of	replication
							    client (option added in
							    version 3.3.5)
       MARIADB_RPL_SEMI_SYNC	 uint_32_t		    Enable  or disable semi
							    sync  replication  (op-
							    tion  added	 in version
							    3.3.6).

   Return value
       Returns zero on success,	non zero on error.

   See also
        mariadb_rpl_get_optionsv(3)

        mariadb_rpl_open(3)

   History
       mariadb_rpl_optionsv was	added in MariaDB Connector/C 3.1.0

Version	3.4					       mariadb_rpl_optionsv(3)

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

home | help