Merge pull request #4135 from lavigor/ticket/14423

[ticket/14423] Display database size for Aria storage engine
This commit is contained in:
Marc Alexander 2016-01-21 17:37:11 +01:00
commit 91fbdd9ff8

View file

@ -3112,7 +3112,7 @@ function get_database_size()
$database_size = 0; $database_size = 0;
while ($row = $db->sql_fetchrow($result)) while ($row = $db->sql_fetchrow($result))
{ {
if ((isset($row['Type']) && $row['Type'] != 'MRG_MyISAM') || (isset($row['Engine']) && ($row['Engine'] == 'MyISAM' || $row['Engine'] == 'InnoDB'))) if ((isset($row['Type']) && $row['Type'] != 'MRG_MyISAM') || (isset($row['Engine']) && ($row['Engine'] == 'MyISAM' || $row['Engine'] == 'InnoDB' || $row['Engine'] == 'Aria')))
{ {
if ($table_prefix != '') if ($table_prefix != '')
{ {