diff options
author | Piotr Przybylski <piotrprz@gmail.com> | 2011-08-24 00:19:21 +0400 |
---|---|---|
committer | Piotr Przybylski <piotrprz@gmail.com> | 2011-08-24 00:19:21 +0400 |
commit | da6c5b71294892dda8da09ce8886ce35abf48a78 (patch) | |
tree | b54100a3dd42cb326bfa3f16f8a90f87608ffb0d /db_structure.php | |
parent | cae0366d212bef81d3cef345b02c3e00f681602d (diff) |
Inline PMA_DBI_get_default_engine(), this one-liner is used only once
Diffstat (limited to 'db_structure.php')
-rw-r--r-- | db_structure.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db_structure.php b/db_structure.php index 9c2e045755..c0c1d33ec8 100644 --- a/db_structure.php +++ b/db_structure.php @@ -444,7 +444,7 @@ if ($is_show_stats) { <th class="value tbl_rows"><?php echo $sum_row_count_pre . PMA_formatNumber($sum_entries, 0); ?></th> <?php if (!($cfg['PropertiesNumColumns'] > 1)) { - $default_engine = PMA_DBI_get_default_engine(); + $default_engine = PMA_DBI_fetch_value('SHOW VARIABLES LIKE \'storage_engine\';', 0, 1); echo ' <th align="center">' . "\n" . ' <dfn title="' . sprintf(__('%s is the default storage engine on this MySQL server.'), $default_engine) . '">' .$default_engine . '</dfn></th>' . "\n"; |