This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-17. For the latest, interactive version please visit https://mariadb.com/kb/.

Connector/C fails to read MariaDB 10.6+ binary logs

I'm using MariaDB Connector/C to 3.3.5 to read binary logs, using mariadb_rpl_fetch(). It works perfectly for MySQL 8.0 and MariaDB 10.5 databases. For MariaDB 10.6 and above, mariadb_rpl_fetch() crashes (!) if the binlog contains XA transactions. Specifically, the function fails when it tries to read event type GTID with contents 'XA START X\'54584e31\',X\'\',1 GTID 0-1-21'

Please advise Thanks

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.