[MXS-853] Binlog Server doesn't retrieve annotate_rows from MariaDB 10 Master Created: 2016-09-01  Updated: 2017-12-01  Resolved: 2016-10-04

Status: Closed
Project: MariaDB MaxScale
Component/s: binlogrouter
Affects Version/s: 1.4.3, 2.0.0
Fix Version/s: 2.1.0

Type: New Feature Priority: Major
Reporter: Massimiliano Pinto (Inactive) Assignee: Massimiliano Pinto (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

Binlog Server doesn't retrieve annotate_rows from MariaDB 10 Master

This is due to missing BINLOG_SEND_ANNOTATE_ROWS_EVENT flag in COM_BINLOG_DUMP, while requesting binlog “xyz.999”.



 Comments   
Comment by Massimiliano Pinto (Inactive) [ 2016-09-02 ]

#define BLR_REQUEST_ANNOTATE_ROWS_EVENT 2

/* With mariadb10 always ask for annotate rows events */
if (router->mariadb10_compat)

{ // set flag for annotate rows event encode_value(&data[9], BLR_REQUEST_ANNOTATE_ROWS_EVENT, 16); }

else

{ encode_value(&data[9], 0, 16); // No flag set }
Generated at Thu Feb 08 04:02:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.