Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Comments

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1091 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
commit f83f204304f3075b20c3865bdea7e3b63a4a4c0d 1 parent 61bda35
jakubvrana authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  adminer/indexes.inc.php
View
2  adminer/indexes.inc.php
@@ -23,6 +23,7 @@
ksort($existing["columns"]);
ksort($existing["lengths"]);
if ($index["type"] == $existing["type"] && $existing["columns"] === $columns && $existing["lengths"] === $lengths) {
+ // skip existing index
unset($indexes[$name]);
continue 2;
}
@@ -31,6 +32,7 @@
}
}
}
+ // drop removed indexes
foreach ($indexes as $name => $existing) {
$alter[] = "\nDROP INDEX " . idf_escape($name);
}
Please sign in to comment.
Something went wrong with that request. Please try again.