From cbb6739e0085d428b4eb2f8e452aa664dfa46dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 8 Nov 2017 18:18:38 +0200 Subject: [PATCH] Always open the SQLite database in binlogrouter The SQLite database was mistakenly opened only when master GTID registration was used. --- server/modules/routing/binlogrouter/blr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/routing/binlogrouter/blr.c b/server/modules/routing/binlogrouter/blr.c index 522dd8f99..ae6221655 100644 --- a/server/modules/routing/binlogrouter/blr.c +++ b/server/modules/routing/binlogrouter/blr.c @@ -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))