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-24 00:14:15 +0400
committerPiotr Przybylski <piotrprz@gmail.com>2011-08-24 00:14:15 +0400
commit57bea0630acc3d36f7f771a96fb84aebbea1ab3d (patch)
tree09777f4a0253496d4aad8f9cc8518e5ea8a2dffc /libraries/Tracker.class.php
parenta31b30ba57c2351b44a9adb5289fea5ca13750b2 (diff)
Use PMA_DBI_get_table_indexes_sql() only when really needed, in all other cases use PMA_DBI_get_table_indexes()
Diffstat (limited to 'libraries/Tracker.class.php')
-rw-r--r--libraries/Tracker.class.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/libraries/Tracker.class.php b/libraries/Tracker.class.php
index a624000338..97f62f05a3 100644
--- a/libraries/Tracker.class.php
+++ b/libraries/Tracker.class.php
@@ -259,9 +259,6 @@ class PMA_Tracker
}
$indexes = PMA_DBI_get_table_indexes($dbname, $tablename);
- if (!$indexes) {
- $indexes = array();
- }
$snapshot = array('COLUMNS' => $columns, 'INDEXES' => $indexes);
$snapshot = serialize($snapshot);