MXS-1209: added blr_handle_fake_gtid_list
New routine blr_handle_fake_gtid_list added for fake GTID_LIST_EVENT. blr_file_append O_APPEND is set only if mariadb10_master_gtid is not set. blr_file_append() routine could change name in next commits
This commit is contained in:
@ -695,6 +695,19 @@ createInstance(SERVICE *service, char **options)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check mariadb10_compat option before any other mariadb10 option.
|
||||
*/
|
||||
if (!inst->mariadb10_compat &&
|
||||
inst->mariadb10_master_gtid)
|
||||
{
|
||||
MXS_ERROR("MariaDB Master GTID registration needs"
|
||||
" MariaDB compatibilty option."
|
||||
" Please enable it with option 'mariadb10-compatibility=On'");
|
||||
free_instance(inst);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Force GTID slave request handling if GTID Master registration is On
|
||||
*/
|
||||
|
Reference in New Issue
Block a user