Develop merge
Develop merge
This commit is contained in:
@ -1792,7 +1792,7 @@ static void rses_end_locked_router_action(ROUTER_SLAVE *rses)
|
||||
|
||||
static int getCapabilities()
|
||||
{
|
||||
return (int)RCAP_TYPE_NO_RSESSION;
|
||||
return (int)(RCAP_TYPE_NO_RSESSION | RCAP_TYPE_NO_USERS_INIT);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -49,6 +49,7 @@
|
||||
* 26/04/2016 Massimiliano Pinto Added MariaDB 10.0 and 10.1 GTID event flags detection
|
||||
* 22/07/2016 Massimiliano Pinto Added semi_sync replication support
|
||||
* 24/08/2016 Massimiliano Pinto Added slave notification and blr_distribute_binlog_record removed
|
||||
* 01/09/2016 Massimiliano Pinto Added support for ANNOTATE_ROWS_EVENT in COM_BINLOG_DUMP
|
||||
*
|
||||
* @endverbatim
|
||||
*/
|
||||
@ -948,7 +949,18 @@ blr_make_binlog_dump(ROUTER_INSTANCE *router)
|
||||
data[4] = COM_BINLOG_DUMP; // Command
|
||||
encode_value(&data[5],
|
||||
router->current_pos, 32); // binlog position
|
||||
encode_value(&data[9], 0, 16); // Flags
|
||||
|
||||
/* 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
|
||||
}
|
||||
|
||||
encode_value(&data[11],
|
||||
router->serverid, 32); // Server-id of MaxScale
|
||||
memcpy((char *)&data[15], router->binlog_name,
|
||||
|
Reference in New Issue
Block a user