mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user