mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +00:00
pt-table-sync: Use single quotes in SHOW VARIABLES LIKE
This commit is contained in:
@@ -9214,7 +9214,7 @@ sub get_change_dbh {
|
|||||||
# of the master (master-master replication).
|
# of the master (master-master replication).
|
||||||
my $slave_status = $ms->get_slave_status($dst->{dbh});
|
my $slave_status = $ms->get_slave_status($dst->{dbh});
|
||||||
my (undef, $log_bin) = $dst->{dbh}->selectrow_array(
|
my (undef, $log_bin) = $dst->{dbh}->selectrow_array(
|
||||||
'SHOW VARIABLES LIKE "log_bin"');
|
q{SHOW VARIABLES LIKE 'log_bin'});
|
||||||
my ($sql_log_bin) = $dst->{dbh}->selectrow_array(
|
my ($sql_log_bin) = $dst->{dbh}->selectrow_array(
|
||||||
'SELECT @@SQL_LOG_BIN');
|
'SELECT @@SQL_LOG_BIN');
|
||||||
PTDEBUG && _d('Variables on destination:',
|
PTDEBUG && _d('Variables on destination:',
|
||||||
|
Reference in New Issue
Block a user