Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2017-03-06 11:50:19 +0300
committerMichal Čihař <michal@cihar.com>2017-03-20 19:56:08 +0300
commita51ac4ef8b47bd83fb0f7f12bdf7524a332ca6b8 (patch)
tree9cd9fc4513cf7b79b516a7f783d57494ddb2cc99 /tbl_operations.php
parentca9ea74d20d87cc9c697b87d36906046560cc946 (diff)
Simplify getting row format
- remove not needed word Table from method name - fix code to handle errors - convert existing users of getStatusInfo('ROW_FORMAT') to this method Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tbl_operations.php')
-rw-r--r--tbl_operations.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_operations.php b/tbl_operations.php
index a5540f6a6b..2adc3041b2 100644
--- a/tbl_operations.php
+++ b/tbl_operations.php
@@ -158,7 +158,7 @@ if (isset($_REQUEST['submitoptions'])) {
$row_format = (isset($create_options['row_format']))
? $create_options['row_format']
- : $pma_table->getStatusInfo('ROW_FORMAT');
+ : $pma_table->getRowFormat();
$table_alters = PMA_getTableAltersArray(
$pma_table,
@@ -226,7 +226,7 @@ if ($reread_info) {
}
$tbl_collation = $pma_table->getCollation();
$table_info_num_rows = $pma_table->getNumRows();
- $row_format = $pma_table->getTableRowFormat();
+ $row_format = $pma_table->getRowFormat();
$auto_increment = $pma_table->getAutoIncrementInfo();
$create_options = $pma_table->createOptionsArray();
}