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:
authorPiotr Przybylski <piotrprz@gmail.com>2011-08-16 22:02:23 +0400
committerPiotr Przybylski <piotrprz@gmail.com>2011-08-16 22:02:23 +0400
commite72036b4b19905b011d753fb4b3a9c83a48ed290 (patch)
treedb6fad0579fc50b5173fe3acf05eae729951746e /libraries/Tracker.class.php
parentf578d0dadc28a3f6266b06e34142d3b02de4b499 (diff)
No need to use PMA_DBI_get_table_indexes_sql() here, use PMA_DBI_get_table_indexes()
Diffstat (limited to 'libraries/Tracker.class.php')
-rw-r--r--libraries/Tracker.class.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/libraries/Tracker.class.php b/libraries/Tracker.class.php
index e852e0b252..bb6b34c5aa 100644
--- a/libraries/Tracker.class.php
+++ b/libraries/Tracker.class.php
@@ -282,15 +282,7 @@ class PMA_Tracker
unset($columns[$i]['Privileges']);
}
- $sql_query = PMA_DBI_get_table_indexes_sql($dbname, $tablename);
-
- $sql_result = PMA_DBI_query($sql_query);
-
- $indexes = array();
-
- while($row = PMA_DBI_fetch_assoc($sql_result)) {
- $indexes[] = $row;
- }
+ $indexes = PMA_DBI_get_table_indexes($dbname, $tablename);
$snapshot = array('COLUMNS' => $columns, 'INDEXES' => $indexes);
$snapshot = serialize($snapshot);