You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*mysql version (SELECT VERSION();): <5.7.35-38-log PERCONA>
Problem
$eventInfo->getBinLogCurrent()->getBinFileName();
falls with Exception 'TypeError' with message 'Return value of MySQLReplication\BinLog\BinLogCurrent::getBinFileName() must be of the type string, null returned'
if ('' !== Config::getGtid()) {
$this->setBinLogDumpGtid();
$this->setBinLogDump(); // This change fixes the problem, but i'm not sure that it's correct.
} else {
$this->setBinLogDump();
}
This change fixes the problem, but i'm not sure that it's correct.
If you use gitid it will set just gtid if you use binlog file it will set binlog file Its intended but not changeable. I will change this in next version.
System details:
SELECT VERSION();
): <5.7.35-38-log PERCONA>Problem
$eventInfo->getBinLogCurrent()->getBinFileName();
falls with
Exception 'TypeError' with message 'Return value of MySQLReplication\BinLog\BinLogCurrent::getBinFileName() must be of the type string, null returned'
Steps required to reproduce the problem.
Starting conditions:
Insert 1 string:
insert into test.test_table (id, is_clicked) values (1,0);
And run replication with GTID = ''
Reproducing error:
var_dump($eventInfo->getBinlogCurrent);
Question
Is it a bug?
The text was updated successfully, but these errors were encountered: