Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 38.5Mb
PDF (A4) - 38.6Mb
PDF (RPM) - 33.3Mb
HTML Download (TGZ) - 8.1Mb
HTML Download (Zip) - 8.2Mb
HTML Download (RPM) - 7.0Mb
Man Pages (TGZ) - 134.2Kb
Man Pages (Zip) - 190.2Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
Excerpts from this Manual

27.7.17.2 mysql_binlog_fetch()

int mysql_binlog_fetch(MYSQL *mysql, MYSQL_RPL *rpl)

Description

Fetch one event from the replication event stream.

Arguments:

  • mysql: The connection handler returned from mysql_init().

  • rpl: The replication stream structure. After a successful call, the size member indicates the event size, which is 0 for an EOF event. For a non-EOF event, size is greater than 0 and the buffer member points to the event contents.

Return Values

Zero for success. Nonzero if an error occurred.

Errors

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.