~percona-toolkit-dev/percona-toolkit/pxc-pt-slave-find-tests

« back to all changes in this revision

Viewing changes to bin/pt-online-schema-change

Merged fix-1047335-crashed-tables

Show diffs side-by-side

added added

removed removed

Lines of Context:
3108
3108
   PTDEBUG && _d($show_sql);
3109
3109
   my $href;
3110
3110
   eval { $href = $dbh->selectrow_hashref($show_sql); };
3111
 
   if ( $EVAL_ERROR ) {
3112
 
      PTDEBUG && _d($EVAL_ERROR);
3113
 
 
 
3111
   if ( my $e = $EVAL_ERROR ) {
3114
3112
      PTDEBUG && _d($old_sql_mode);
3115
3113
      $dbh->do($old_sql_mode);
3116
3114
 
3117
 
      return;
 
3115
      die $e;
3118
3116
   }
3119
3117
 
3120
3118
   PTDEBUG && _d($old_sql_mode);