mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-20 19:04:59 +00:00
fix a couple things for MySQL 5.5
This commit is contained in:
@@ -1987,7 +1987,7 @@ sub main {
|
||||
PTDEBUG && _d($sql);
|
||||
eval { $dbh_child->do($sql); }; # Should block against parent.
|
||||
PTDEBUG && _d($EVAL_ERROR); # Parent inserted value 0.
|
||||
$sql = "DROP TABLE $db_tbl";
|
||||
$sql = "COMMIT";
|
||||
PTDEBUG && _d($sql);
|
||||
$dbh_child->do($sql);
|
||||
exit;
|
||||
@@ -2001,6 +2001,9 @@ sub main {
|
||||
eval { $dbh->do($sql); };
|
||||
PTDEBUG && _d($EVAL_ERROR);
|
||||
waitpid($pid, 0);
|
||||
$sql = "DROP TABLE $db_tbl";
|
||||
PTDEBUG && _d($sql);
|
||||
$dbh->do($sql);
|
||||
}
|
||||
|
||||
# If there's an --interval argument, run forever or till specified.
|
||||
|
Reference in New Issue
Block a user