1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00
This commit is contained in:
Jakub Vrana
2012-05-16 07:44:44 -07:00
parent 5dc90731eb
commit 8339b14da3

View File

@@ -18,6 +18,7 @@ if ($_GET["script"] == "db") {
$table_status["Engine"] == "table" // PostgreSQL table reltype $table_status["Engine"] == "table" // PostgreSQL table reltype
) ? "~ $val" : $val)); ) ? "~ $val" : $val));
if (isset($sums[$key])) { if (isset($sums[$key])) {
// ignore innodb_file_per_table because it is not active for tables created before it was enabled
$sums[$key] += ($table_status["Engine"] != "InnoDB" || $key != "Data_free" ? $table_status[$key] : 0); $sums[$key] += ($table_status["Engine"] != "InnoDB" || $key != "Data_free" ? $table_status[$key] : 0);
} }
} elseif (array_key_exists($key, $table_status)) { } elseif (array_key_exists($key, $table_status)) {