MXS-1266: Standalone events in transaction (no COMMIT event) are now handled
Standalone events in transaction (no COMMIT event) are now handled: the GTID is saved to gtid_maps storage. Transaction detection assumes there is only one query_event after GTID event with MARIADB_FL_STANDALONE flag set.
This commit is contained in:
@ -6826,7 +6826,8 @@ static bool blr_handle_set_stmt(ROUTER_INSTANCE *router,
|
||||
MXS_ERROR("%s: Incomplete set command.", router->service->name);
|
||||
return false;
|
||||
}
|
||||
else if ((strcasecmp(word, "autocommit") == 0) || (strcasecmp(word, "@@session.autocommit") == 0))
|
||||
else if ((strcasecmp(word, "autocommit") == 0) ||
|
||||
(strcasecmp(word, "@@session.autocommit") == 0))
|
||||
{
|
||||
blr_slave_send_ok(router, slave);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user