diff options
author | Michal Čihař <michal@cihar.com> | 2017-03-06 11:56:20 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-03-20 19:56:08 +0300 |
commit | 159e748a2baf436d07e34045ebd982a9d3649893 (patch) | |
tree | 6e72fbdf121f77847ff8c9a4f69ede822a445f6a /tbl_operations.php | |
parent | a51ac4ef8b47bd83fb0f7f12bdf7524a332ca6b8 (diff) |
Simplify getting table create options
- use saner method name (getCreateOptions)
- fix error case
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tbl_operations.php')
-rw-r--r-- | tbl_operations.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_operations.php b/tbl_operations.php index 2adc3041b2..90dcd75656 100644 --- a/tbl_operations.php +++ b/tbl_operations.php @@ -227,8 +227,8 @@ if ($reread_info) { $tbl_collation = $pma_table->getCollation(); $table_info_num_rows = $pma_table->getNumRows(); $row_format = $pma_table->getRowFormat(); - $auto_increment = $pma_table->getAutoIncrementInfo(); - $create_options = $pma_table->createOptionsArray(); + $auto_increment = $pma_table->getAutoIncrement(); + $create_options = $pma_table->getCreateOptions(); } unset($reread_info); |