]> git.joonet.de Git - adminer.git/commitdiff
Display default engine only in MySQL (thanks to Honza Krakora)
authorJakub Vrana <jakub@vrana.cz>
Fri, 11 Mar 2011 10:49:38 +0000 (11:49 +0100)
committerJakub Vrana <jakub@vrana.cz>
Fri, 11 Mar 2011 10:49:38 +0000 (11:49 +0100)
adminer/db.inc.php

index 5738fe2dc75edb61cafb4c9c680f719cc81933ed..7bee8c231f839ac340649666f85408e9d7cc19ee 100644 (file)
@@ -66,7 +66,7 @@ if ($adminer->homepage()) {
                                echo (support("comment") ? "<td id='Comment-" . h($name) . "'>&nbsp;" : "");
                        }
                        echo "<tr><td>&nbsp;<th>" . lang('%d in total', count($tables_list));
-                       echo "<td>" . nbsp($connection->result("SELECT @@storage_engine"));
+                       echo "<td>" . nbsp($jush == "sql" ? $connection->result("SELECT @@storage_engine") : "");
                        echo "<td>" . nbsp(db_collation(DB, collations()));
                        foreach (array("Data_length", "Index_length", "Data_free") as $key) {
                                echo "<td align='right' id='sum-$key'>&nbsp;";