mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-28 17:15:44 +00:00
Add and use basic_no_fks_innodb.sql with PXC to avoid MyISAM bugs. Make query_table.pl handle deadlock on START TRANSACTION. Give alter_active_table.t tests unique names.
This commit is contained in:
@@ -108,7 +108,12 @@ for my $i ( 1..5_000 ) {
|
||||
commit();
|
||||
reset_counters();
|
||||
sleep $sleep;
|
||||
$dbh->do("START TRANSACTION");
|
||||
# TODO: somehow this can fail if called very near when
|
||||
# the old table is dropped.
|
||||
eval { $dbh->do("START TRANSACTION"); };
|
||||
if ( $EVAL_ERROR ) {
|
||||
#Test::More::diag($EVAL_ERROR);
|
||||
}
|
||||
}
|
||||
else {
|
||||
sleep 0.001;
|
||||
|
Reference in New Issue
Block a user