Always open the SQLite database in binlogrouter
The SQLite database was mistakenly opened only when master GTID registration was used.
This commit is contained in:
@ -784,7 +784,7 @@ createInstance(SERVICE *service, char **options)
|
|||||||
"'tree' mode using GTID domain_id and server_id");
|
"'tree' mode using GTID domain_id and server_id");
|
||||||
|
|
||||||
/* Enable MariaDB the GTID maps store */
|
/* Enable MariaDB the GTID maps store */
|
||||||
if (inst->mariadb10_compat && inst->mariadb10_master_gtid)
|
if (inst->mariadb10_compat)
|
||||||
{
|
{
|
||||||
/* Create/Open R/W GTID sqlite3 storage */
|
/* Create/Open R/W GTID sqlite3 storage */
|
||||||
if (!blr_open_gtid_maps_storage(inst))
|
if (!blr_open_gtid_maps_storage(inst))
|
||||||
|
Reference in New Issue
Block a user