~percona-toolkit-dev/percona-toolkit/fix-stdin-bug-894255

« back to all changes in this revision

Viewing changes to bin/pt-table-checksum

  • Committer: Daniel Nichter
  • Date: 2011-12-30 21:46:18 UTC
  • Revision ID: daniel@percona.com-20111230214618-2s9tm9592r353n1i
Fix SET @@binlog_format statement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5882
5882
 
5883
5883
      return if $o->get('explain');
5884
5884
 
5885
 
      my $sql = 'SET /*!50108 @@binlog_format := "STATEMENT"*/';
 
5885
      my $sql = '/*!50108 SET @@binlog_format := "STATEMENT"*/';
5886
5886
      PTDEBUG && _d($dbh, $sql);
5887
5887
      $dbh->do($sql);
5888
5888