MySQL 8.0 C API Developer Guide / ... / C API Binary Log Interface / C API Binary Log Function Descriptions / mysql_binlog_close()
voidmysql_binlog_close(MYSQL *mysql, MYSQL_RPL *rpl)Close a replication event stream.
Arguments:
mysql: The connection handler returned frommysql_init(). The handler remains open after themysql_binlog_close()call.rpl: The replication stream structure. After callingmysql_binlog_close(), this structure should not be used further without reinitializing it and callingmysql_binlog_open()again.