PT-1556 binlog_format should be STATEMENT on master

On the master, binlog_format should be always STATEMENT on master

Resolves: #PT-1527
This commit is contained in:
Carlos Salguero
2018-05-18 12:42:51 -03:00
parent 4ac6333b6c
commit 81efd315e2

View File

@@ -10052,7 +10052,6 @@ sub main {
# instead, it should check if it's already set to STATEMENT.
# This is becase starting with MySQL 5.1.29, changing the format
# requires a SUPER user.
if ( $o->get('check-binlog-format') ) {
if ( VersionParser->new($dbh) >= '5.1.5' ) {
$sql = 'SELECT @@binlog_format';
PTDEBUG && _d($dbh, $sql);
@@ -10076,7 +10075,6 @@ sub main {
}
}
}
}
# Set transaction isolation level. We set binlog_format to STATEMENT,
# but if the transaction isolation level is set to READ COMMITTED and the