This commit is contained in:
Isaac Connor 2020-06-09 12:18:29 -04:00
parent 58ae7bb342
commit d4488ac4e1
1 changed files with 2 additions and 2 deletions

View File

@ -329,8 +329,8 @@ if ( $interactive ) {
# Now check for MyISAM Tables
my @MyISAM_Tables;
my $sql = "SELECT `table_name` FROM INFORMATION_SCHEMA.TABLES WHERE `table_schema`='zm' AND `engine` = 'MyISAM'";
my $sth = $dbh->prepare_cached( $sql ) or die( "Can't prepare '$sql': ".$dbh->errstr() );
my $res = $sth->execute() or die( "Can't execute: ".$sth->errstr() );
my $sth = $dbh->prepare_cached($sql) or die("Can't prepare '$sql': ".$dbh->errstr());
my $res = $sth->execute() or die("Can't execute: ".$sth->errstr());
while( my $dbTable = $sth->fetchrow() ) {
push @MyISAM_Tables, $dbTable;