I execute multiple jobs and found in history table pt_osc_history all records with one value in new_table_name field.
In script I see:
$ tail -n +9797 pt-online-schema-change | head -n 6
if ( $o->get('history') ) {
my $sth = $cxn->dbh()->prepare(
"UPDATE ${hist_table} SET new_table_name = ?"
);
$sth->execute($new_tbl->{tbl});
}
Update operation set one value for all recors. This is not corrected. Or corrected?