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:
Markus Mäkelä 2017-11-08 18:18:38 +02:00
parent 0558a2195d
commit cbb6739e00

View File

@ -784,7 +784,7 @@ createInstance(SERVICE *service, char **options)
"'tree' mode using GTID domain_id and server_id");
/* 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 */
if (!blr_open_gtid_maps_storage(inst))