mariadb_rpl_open(3)

πŸ“¦
version 13.0.2 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– Name πŸ’–

okay bestie, say hi to mariadb_rpl_open(3) from the MariaDB Connector/C manual β€” she opens a replication stream, and she is lowkey iconic for it. ✨


🌸 Synopsis 🌸

#include <mariadb_rpl.h>

int mariadb_rpl_open(MARIADB_RPL *rpl)

πŸ¦‹ Description πŸ¦‹

Opens a replication stream. That’s the whole assignment, bestie β€” no cap. πŸ’…


πŸŽ€ Parameter πŸŽ€

  • rpl β€” the replication handle, and it has to be one that was previously initialized by mariadb_rpl_init(3). Don’t just roll up with any old handle, okay? πŸ™ˆ

⭐ Return value ⭐

Zero on success, nonzero on error. Slay if it’s zero, cry if it’s not. 😭


πŸ‘‘ History πŸ‘‘

mariadb_rpl_open was added in MariaDB Connector/C 3.1.0 β€” so she’s been serving since then, periodt. πŸ’–


Version 3.4, mariadb_rpl_open(3) β€” byeee, go init your handle first 🫢🌈

πŸ“¦ where this page comes from