1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-10 16:35:35 +02:00

[ticket/14423] Display database size for Aria storage engine

PHPBB3-14423
This commit is contained in:
lavigor
2016-01-20 21:34:30 +03:00
parent 0c34641abd
commit 5832698f4f

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 != '')
{ {