Fixed to work with MySQL 5.0.
information_schema.engines table was added in MySQL 5.1.5. https://dev.mysql.com/doc/refman/5.1/en/engines-table.html
This commit is contained in:
parent
5f59ce5bc7
commit
85393335ce
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ sub check_storage_engines {
|
|||
print "\n-------- Storage Engine Statistics -------------------------------------------\n";
|
||||
infoprint "Status: ";
|
||||
my $engines;
|
||||
if (mysql_version_ge(5)) {
|
||||
if (mysql_version_ge(5, 1, 5)) {
|
||||
my @engineresults = `mysql $mysqllogin -Bse "SELECT ENGINE,SUPPORT FROM information_schema.ENGINES WHERE ENGINE NOT IN ('performance_schema','MyISAM','MERGE','MEMORY') ORDER BY ENGINE ASC"`;
|
||||
foreach my $line (@engineresults) {
|
||||
my ($engine,$engineenabled);
|
||||
|
|
Loading…
Reference in a new issue