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:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-06-05 17:50:02 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-06-05 17:50:02 +0300
commit758ec7b5ae7f9669f30c4de2f658a7c751af92f6 (patch)
tree6b246d835c70017218867b0b8ddd86c92459747b /tbl_change.php
parent739b142580d7fa6bf8e5ca70f45baced6e22aeeb (diff)
Performance improvements: Avoid expensive PMA_Table::analyzeStructure() call
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'tbl_change.php')
-rw-r--r--tbl_change.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/tbl_change.php b/tbl_change.php
index a72a3756c3..5a705e4df0 100644
--- a/tbl_change.php
+++ b/tbl_change.php
@@ -93,9 +93,6 @@ if (! empty($disp_message)) {
$response->addHTML(PMA_Util::getMessage($disp_message, null));
}
-// used as a global by PMA_Util::getDefaultFunctionForField()
-$analyzed_sql = PMA_Table::analyzeStructure($db, $table);
-
$table_columns = PMA_getTableColumns($db, $table);
// retrieve keys into foreign fields, if any
@@ -194,7 +191,7 @@ foreach ($rows as $row_id => $current_row) {
}
$html_output .= PMA_getHtmlForInsertEditRow(
- $url_params, $table_columns, $column, $comments_map, $timestamp_seen,
+ $url_params, $table_columns, $comments_map, $timestamp_seen,
$current_result, $chg_evt_handler, $jsvkey, $vkey, $insert_mode,
$current_row, $o_rows, $tabindex, $columns_cnt,
$is_upload, $tabindex_for_function, $foreigners, $tabindex_for_null,