Binlog Server doesn't start without last found GTID in the repo only if “mariadb10_master_gtid” option is On

Binlog Server doesn't start without last found GTID in the repo only if
“mariadb10_master_gtid” option is On
This commit is contained in:
MassimilianoPinto 2017-08-01 16:34:42 +02:00
parent 854c4a1ed3
commit 7d8407ff22

View File

@ -1060,7 +1060,7 @@ createInstance(SERVICE *service, char **options)
/**
* Try loading last found GTID if the file size is <= 4 bytes
*/
if (inst->mariadb10_gtid &&
if (inst->mariadb10_master_gtid &&
inst->current_pos <= 4)
{
MARIADB_GTID_INFO last_gtid = {};