Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
3.3.5
-
None
-
Client running on Windows
MariaDB 10.7
Description
Hi, I'm using MariaDB Connector/C 3.3.5 to read binary logs.
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 this contents:
'XA START X'54584e31',X'',1 GTID 0-1-21'
If the function doesn't crash, it returns this error:
Read next binary log event failed; mariadb_rpl_fetch error 1236 (Failed to replace GTID event with backwards-compatible event: corrupt event.;
Please advise . Thanks.
Sruli