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:
authorDan Ungureanu <udan1107@gmail.com>2015-07-03 00:19:50 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-07-10 23:18:16 +0300
commitc34cf9ff29e47618fc788d1fce8087375744705a (patch)
tree84b8fecb81f40e5b26b91256d46d315611c3ef6e /tbl_zoom_select.php
parent684b4bed1ad751cab9c7d673de6824e6c402d24a (diff)
More refactoring.
Updated sql-parser library. Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
Diffstat (limited to 'tbl_zoom_select.php')
-rw-r--r--tbl_zoom_select.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/tbl_zoom_select.php b/tbl_zoom_select.php
index 40f81a0ace..0e110f950f 100644
--- a/tbl_zoom_select.php
+++ b/tbl_zoom_select.php
@@ -143,8 +143,13 @@ if (isset($_POST['zoom_submit'])
}
//Get unique condition on each row (will be needed for row update)
$uniqueCondition = PMA_Util::getUniqueCondition(
- $result, count($table_search->getColumnNames()), $fields_meta, $tmpRow,
- true
+ $result, // handle
+ count($table_search->getColumnNames()), // fields_cnt
+ $fields_meta, // fields_meta
+ $tmpRow, // row
+ true, // force_unique
+ false, // restrict_to_table
+ null // analyzed_sql_results
);
//Append it to row array as where_clause
$row['where_clause'] = $uniqueCondition[0];