diff options
author | Michal Čihař <michal@cihar.com> | 2017-03-06 11:31:22 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-03-20 19:56:08 +0300 |
commit | 56046cc7e26307faa32da750f1bcfbd21be73a2e (patch) | |
tree | 3ccb9561e98dfd556571009ed3959f36d69f908b /tbl_operations.php | |
parent | e655e08e6efd395b005ac1a5a4dc3c778a62467c (diff) |
Simplify getting storage engine
- remove not needed word Table from method name
- fix code to handle errors
- convert existing users of getStatusInfo('ENGINE') to this method
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tbl_operations.php')
-rw-r--r-- | tbl_operations.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_operations.php b/tbl_operations.php index 6ccbed741e..0db89ffe8e 100644 --- a/tbl_operations.php +++ b/tbl_operations.php @@ -221,7 +221,7 @@ if ($reread_info) { $show_comment = null; } else { $tbl_is_view = false; - $tbl_storage_engine = $pma_table->getTableStorageEngine(); + $tbl_storage_engine = $pma_table->getStorageEngine(); $show_comment = $pma_table->getShowComment(); } $tbl_collation = $pma_table->getTableCollation(); |