Diff of /adminer/drivers/sqlite.inc.php [e51640] .. [7dd454]  Maximize  Restore

Switch to side-by-side view

--- a/adminer/drivers/sqlite.inc.php
+++ b/adminer/drivers/sqlite.inc.php
@@ -510,7 +510,7 @@
 	}
 	
 	function alter_indexes($table, $alter) {
-		foreach ($alter as $val) {
+		foreach (array_reverse($alter) as $val) {
 			if (!queries($val[2] == "DROP"
 				? "DROP INDEX " . idf_escape($val[1])
 				: index_sql($table, $val[0], $val[1], $val[2])

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks