mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-07 21:09:14 +00:00
Check if lwt is not defined, since 0 could be a valid value.
This commit is contained in:
@@ -6015,7 +6015,7 @@ sub main {
|
||||
PTDEBUG && _d($dbh, $sql);
|
||||
my (undef, $curr_lwt) = $dbh->selectrow_array($sql);
|
||||
PTDEBUG && _d('innodb_lock_wait_timeout on server:', $curr_lwt);
|
||||
if ( !$curr_lwt ) {
|
||||
if ( !defined $curr_lwt ) {
|
||||
PTDEBUG && _d('innodb_lock_wait_timeout does not exist;',
|
||||
'InnoDB is probably disabled');
|
||||
}
|
||||
|
Reference in New Issue
Block a user